From 73835706f102b75438605f2b0f8c88af70673568 Mon Sep 17 00:00:00 2001 From: yangjian Date: Sun, 24 May 2020 10:21:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96emoji=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/editor.md/editormd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/editor.md/editormd.js b/static/editor.md/editormd.js index 7ffa17f..f2ba887 100644 --- a/static/editor.md/editormd.js +++ b/static/editor.md/editormd.js @@ -3419,7 +3419,7 @@ email : /(\w+)@(\w+)\.(\w+)\.?(\w+)?/g, emailLink : /(mailto:)?([\w\.\_]+)@(\w+)\.(\w+)\.?(\w+)?/g, //emoji : /:([\w\+-]+):/g, - emoji : /:([A-Za-z]+):/g, + emoji : /:([A-Za-z\+-]+):/g, emojiDatetime : /(\d{2}:\d{2}:\d{2})/g, twemoji : /:(tw-([\w]+)-?(\w+)?):/g, fontAwesome : /:(fa-([\w]+)(-(\w+)){0,}):/g,