Unverified Commit 27ba5f91 authored by Christoph (Sheogorath) Kern's avatar Christoph (Sheogorath) Kern Committed by GitHub
Browse files

Merge pull request #1166 from SISheogorath/fix/exportEmojis

Fix broken HTML export with emojis
parents 5e634aef 982775f6
...@@ -1134,7 +1134,7 @@ const emojijsPlugin = new Plugin( ...@@ -1134,7 +1134,7 @@ const emojijsPlugin = new Plugin(
(match, utils) => { (match, utils) => {
const emoji = match[1].toLowerCase() const emoji = match[1].toLowerCase()
const div = $(`<img class="emoji" src="${serverurl}/build/emojify.js/dist/images/basic/${emoji}.png"></img>`) const div = $(`<img class="emoji" alt=":${emoji}:" src="${serverurl}/build/emojify.js/dist/images/basic/${emoji}.png"></img>`)
return div[0].outerHTML return div[0].outerHTML
} }
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment