summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/extra.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index ddec31a8..4db36ff6 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -1147,7 +1147,7 @@ const pdfPlugin = new Plugin(
const emojijsPlugin = new Plugin(
// regexp to match emoji shortcodes :something:
- /:([\d\D]*):/,
+ /:([^\s:]+):/,
(match, utils) => {
const emoji = match[1] ? match[1].toLowerCase() : undefined