FIX: Search menu regression (#13321)

FIX: Search menu regression (#13321)

Turns out the extra <span> is crucial. (TODO: this codepath needs tests…)

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 a40eae2..b899230 100644
--- a/app/assets/javascripts/discourse/app/widgets/search-menu-results.js
+++ b/app/assets/javascripts/discourse/app/widgets/search-menu-results.js
@@ -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)
       ),

GitHub sha: 45971d8c3c94bae91e762fa0891b757447072f5a

This commit appears in #13321 which was approved by tgxworld and techAPJ. It was merged by CvX.