summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authormrsdizzie <info@mrsdizzie.com>2020-05-01 13:58:45 -0400
committerGitHub <noreply@github.com>2020-05-01 20:58:45 +0300
commit4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea (patch)
tree64624ce36c5a8fcffe66ce5854e39cd22d228956 /modules
parent1bdffefc052fca440b1d4b59a5e6d402f0836374 (diff)
downloadgitea-4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea.tar.gz
gitea-4ed7d2a2bbb421e37cc0bc23a9f997e5606258ea.zip
Remove last traces of has-emoji class (#11263)
Now that emojify.js has been removed, get rid of all instances of has-emoji class that was only used for that. Support for rendering shortcodes should remain in all of these places so it should still work the same. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'modules')
-rw-r--r--modules/markup/html.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/markup/html.go b/modules/markup/html.go
index c5bb4d847b..8fbfee6a53 100644
--- a/modules/markup/html.go
+++ b/modules/markup/html.go
@@ -284,6 +284,8 @@ func RenderDescriptionHTML(
urlPrefix: urlPrefix,
procs: []processor{
descriptionLinkProcessor,
+ emojiShortCodeProcessor,
+ emojiProcessor,
},
}
return ctx.postProcess(rawHTML)