diff --git a/app/assets/javascripts/pretty-text/emoji.js b/app/assets/javascripts/pretty-text/emoji.js index 6346cd93b12..a2963b84e1a 100644 --- a/app/assets/javascripts/pretty-text/emoji.js +++ b/app/assets/javascripts/pretty-text/emoji.js @@ -126,8 +126,6 @@ export function performEmojiUnescape(string, opts) { } alt='${emojiVal}' class='${classes}'>` : m; }); - - return string; } export function performEmojiEscape(string, opts) { @@ -145,8 +143,6 @@ export function performEmojiEscape(string, opts) { return m; }); - - return string; } export function isCustomEmoji(code, opts) {