Revert "FIX: Use topic title headline in search menu result."

This reverts commit 4b8c15b857.

This breaks topic title for topic similar search.
This commit is contained in:
Guo Xiang Tan 2020-10-02 11:55:03 +08:00 committed by Alan Guo Xiang Tan
parent 4b8c15b857
commit 495c79da1a
1 changed files with 1 additions and 3 deletions

View File

@ -151,9 +151,7 @@ createSearchResult({
h( h(
"span.topic-title", "span.topic-title",
{ attributes: { "data-topic-id": topic.id } }, { attributes: { "data-topic-id": topic.id } },
this.siteSettings.use_pg_headlines_for_excerpt new Highlighted(topic.fancyTitle, term)
? new RawHtml({ html: `<span>${result.topic_title_headline}</span>` })
: new Highlighted(topic.fancyTitle, term)
), ),
]; ];