diff --git a/app/js/lib/ng_utils.js b/app/js/lib/ng_utils.js index 01ad52a0..da91f2b1 100644 --- a/app/js/lib/ng_utils.js +++ b/app/js/lib/ng_utils.js @@ -1743,8 +1743,8 @@ angular.module('izhukov.utils', []) if (!options.nested && (emojiFound || options.hasNested)) { text = text.replace(/\ufe0f|️|�|‍/g, '', text) var emojiSizeClass = curEmojiSize == 18 ? '' : (' emoji-w' + curEmojiSize) - text = text.replace(//g, - '') + text = text.replace(/]*)?) class="emoji emoji-(\d)-(\d+)-(\d+)"(.+?)<\/span>/g, + '') } return $sce.trustAs('html', text)