diff --git a/modules/core/client/app/init.js b/modules/core/client/app/init.js index a7aeb29d..de62e622 100644 --- a/modules/core/client/app/init.js +++ b/modules/core/client/app/init.js @@ -92,6 +92,24 @@ //}, table: function (header, body) { return '' + header + '' + body + '
'; + }, + text: function (text) { + var RexStr = /:([A-Za-z0-9_\-\+]+?):/g; + text = text.replace(RexStr, function (match, emoji) { + return ''
+            + emoji
+            + ''; + }); + + return text; } }); }