diff --git a/app/assets/javascripts/discourse/widgets/post-gutter.js.es6 b/app/assets/javascripts/discourse/widgets/post-gutter.js.es6 index 514ee4a924f..f79ec5e5c4d 100644 --- a/app/assets/javascripts/discourse/widgets/post-gutter.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-gutter.js.es6 @@ -1,6 +1,7 @@ import { iconNode } from 'discourse/helpers/fa-icon'; import { createWidget } from 'discourse/widgets/widget'; import { h } from 'virtual-dom'; +import RawHtml from 'discourse/widgets/raw-html'; const MAX_GUTTER_LINKS = 5; @@ -28,7 +29,7 @@ export default createWidget('post-gutter', { let title = l.title; if (title && !seenTitles[title]) { seenTitles[title] = true; - const linkBody = [Discourse.Emoji.unescape(title)]; + const linkBody = [new RawHtml({ html: `${Discourse.Emoji.unescape(title)}` })]; if (l.clicks) { linkBody.push(h('span.badge.badge-notification.clicks', l.clicks.toString())); }