mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Merge pull request #1031 from SISheogorath/fix/emojiPlugin
Fix emoji regex
This commit is contained in:
commit
d79301a00d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue