1
0
Fork 0
forked from forgejo/forgejo

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>
This commit is contained in:
mrsdizzie 2020-05-01 13:58:45 -04:00 committed by GitHub
parent 1bdffefc05
commit 4ed7d2a2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 68 additions and 59 deletions

View file

@ -284,6 +284,8 @@ func RenderDescriptionHTML(
urlPrefix: urlPrefix,
procs: []processor{
descriptionLinkProcessor,
emojiShortCodeProcessor,
emojiProcessor,
},
}
return ctx.postProcess(rawHTML)