From a4b4bfc133d61ffce6a57507c6772a3a6e768b88 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 2 Mar 2024 02:06:06 +0200 Subject: [PATCH] fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/6033295#context --- files/assets/js/markdown.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/assets/js/markdown.js b/files/assets/js/markdown.js index fe6554109..b49921228 100644 --- a/files/assets/js/markdown.js +++ b/files/assets/js/markdown.js @@ -203,7 +203,6 @@ function markdown(t) { modifiers.add(MODIFIERS.USER); } - if (emoji === 'marseyunpettable') { modifiers.delete(MODIFIERS.PAT); if (!isTalkingFirst) { @@ -255,7 +254,9 @@ function markdown(t) { input = input.replace(compiled_regex, replace_image) + input = input.replaceAll('_', '▔') input = marked(input) + input = input.replaceAll('▔', '_') if (oldfiles[t.id]) { const files = oldfiles[t.id].files