diff options
author | Christoph (Sheogorath) Kern | 2019-03-13 11:50:50 +0100 |
---|---|---|
committer | GitHub | 2019-03-13 11:50:50 +0100 |
commit | 27ba5f910d584119b43f080a12123829c3559341 (patch) | |
tree | 962e8147f6083f7f9c90318618db5e79d8ce0bb2 /public | |
parent | 5e634aef87861a396ec6c79e6e2b126ac44af5d3 (diff) | |
parent | 982775f6dc12f36bc3857e6d1f9816483f0c71b1 (diff) |
Merge pull request #1166 from SISheogorath/fix/exportEmojis
Fix broken HTML export with emojis
Diffstat (limited to '')
-rw-r--r-- | public/js/extra.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/extra.js b/public/js/extra.js index f8e0eb22..b80290d1 100644 --- a/public/js/extra.js +++ b/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 } ) |