mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:54:16 +08:00
FIX: Search menu regression (#13321)
Turns out the extra `<span>` is crucial. (TODO: this codepath needs tests…)
This commit is contained in:
parent
bd2b2bcf9c
commit
45971d8c3c
|
@ -161,7 +161,9 @@ createSearchResult({
|
|||
this.siteSettings.use_pg_headlines_for_excerpt &&
|
||||
result.topic_title_headline
|
||||
? new RawHtml({
|
||||
html: emojiUnescape(result.topic_title_headline),
|
||||
html: `<span>${emojiUnescape(
|
||||
result.topic_title_headline
|
||||
)}</span>`,
|
||||
})
|
||||
: new Highlighted(topic.fancyTitle, term)
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue
Block a user