diff --git a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 index 38784a3941a..2786f7df734 100644 --- a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 @@ -134,6 +134,8 @@ export default class PostCooked { ajax(`/posts/by_number/${topicId}/${postId}`).then(result => { const div = $("
"); div.html(result.cooked); + _decorators.forEach(cb => cb(div, this.decoratorHelper)); + div.highlight(originalText, {caseSensitive: true, element: 'span', className: 'highlighted'}); $blockQuote.showHtml(div, 'fast', finished); }).catch((e) => {