From edc167bbdfca9fc4a18f873632fbe0e9750519ed Mon Sep 17 00:00:00 2001 From: Mystikfluu Date: Sun, 28 Aug 2022 21:50:59 +0200 Subject: [PATCH] make alt text represent the actual input text --- js/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/markdown.js b/js/markdown.js index 5feb5ff..3145b71 100644 --- a/js/markdown.js +++ b/js/markdown.js @@ -30,7 +30,7 @@ function filterMentions(text) { const emojiregex = /:([^:\s]*):/gi function emojify(text) { - return text.replace(emojiregex,"$1") + return text.replace(emojiregex,":$1:") } function unemojify(text){