diff --git a/app/assets/javascripts/discourse/app/widgets/search-menu-results.js b/app/assets/javascripts/discourse/app/widgets/search-menu-results.js index 159cba06517..d1981adf800 100644 --- a/app/assets/javascripts/discourse/app/widgets/search-menu-results.js +++ b/app/assets/javascripts/discourse/app/widgets/search-menu-results.js @@ -151,9 +151,7 @@ createSearchResult({ h( "span.topic-title", { attributes: { "data-topic-id": topic.id } }, - this.siteSettings.use_pg_headlines_for_excerpt - ? new RawHtml({ html: `${result.topic_title_headline}` }) - : new Highlighted(topic.fancyTitle, term) + new Highlighted(topic.fancyTitle, term) ), ];