Une coupure du gitlab et des services associés est prévue en tout début de matinée ce vendredi 19 août 2022 et ne devrait pas durer plus de 30 minutes.

Unverified Commit 982775f6 authored by Sheogorath's avatar Sheogorath
Browse files

Fix broken HTML export with emojis



HTML export was broken due to missing alt-attribute for emojis.

This patch adds the old alt-element style and restores the exportability
this way.
Signed-off-by: default avatarSheogorath <sheogorath@shivering-isles.com>
parent 329d39d0
......@@ -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
}
)
......
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