Search result hits are not formatted in bold text

AI-generated summary

Users MarcP and JammyDodger reported that search result hits were not appearing in bold text on their Discourse boards running 2.8.0.beta6. The issue was isolated to specific installations, not reproducible on meta. pmusaraj noted a recent PR had fixed keyword highlighting in the full-page search results. Both users confirmed the fix resolved the issue in their instances, with JammyDodger and MarcP confirming bold formatting was restored after updating to the latest version.

On a few boards I do not get bold formatted hits in the results when I do a search query, I can not find any plugin that might interfere with this behavior.

Is anyone else experiencing the same? I can not reproduce on meta.

Running 2.8.0.beta6 (e316467169)

I also tested in /safe-mode/, and still have the same issue.

2 Likes

I’m not getting bold formatting on my keywords. I installed a new discourse about two weeks ago using the 30 minute guide.

2.8.0.beta6 (0dd28cdd95)

Plugins:

  • Spoiler Alert
  • Saved Searches

(I had Cakeday and Reactions, but have currently taken them off again)

I just merged a PR with a lot of changes to the full page search screen, including a fix for the missing highlighting in bold of the keywords in the results. Can you check whether that fixes your issue?

3 Likes

Just updated to 2.8.0.beta6 dfeca42bf8

It does indeed. My keywords are now in bold. :+1:

And the new search box looks pretty swish too. :slightly_smiling_face:

4 Likes

I can confirm the issue has been fixed too on my board.

Thanks for the quick fix.

3 Likes