Skip to content

Commit d79301a

Browse files
authored
Merge pull request #1031 from SISheogorath/fix/emojiPlugin
Fix emoji regex
2 parents 279213e + 7e45533 commit d79301a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/extra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ const pdfPlugin = new Plugin(
11471147

11481148
const emojijsPlugin = new Plugin(
11491149
// regexp to match emoji shortcodes :something:
1150-
/:([\d\D]*):/,
1150+
/:([^\s:]+):/,
11511151

11521152
(match, utils) => {
11531153
const emoji = match[1] ? match[1].toLowerCase() : undefined

0 commit comments

Comments
 (0)