Skip to content
Permalink
Browse files

Merge pull request #1166 from SISheogorath/fix/exportEmojis

Fix broken HTML export with emojis
  • Loading branch information...
SISheogorath committed Mar 13, 2019
2 parents 5e634ae + 982775f commit 27ba5f910d584119b43f080a12123829c3559341
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/js/extra.js
@@ -1134,7 +1134,7 @@ const emojijsPlugin = new Plugin(

(match, utils) => {
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
}
)

0 comments on commit 27ba5f9

Please sign in to comment.
You can’t perform that action at this time.