mirror of
https://github.com/status-im/codimd.git
synced 2025-01-24 08:28:56 +00:00
Merge pull request #1166 from SISheogorath/fix/exportEmojis
Fix broken HTML export with emojis
This commit is contained in:
commit
27ba5f910d
@ -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
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user