24

When you search on any of the SE network sites, with a tag (so that a description is shown); it shows the tag info content box, with the highlight-search-term span elements.

For eg. I searched [c#] IHttpFilter on stack overflow; [controllers] mess on [gaming.SE]; and the results are as shown:

c# thing

gmaing.SE


Notice the <span class='search-highlight'> boxes around searched tag terms.

5

1 Answer 1

7
+50

This snuck in with the fix for a bunch of weird truncation and escaping bugs a couple of weeks back.

Given there's no particularly good reason to highlight search terms in the tag excerpts to begin with, the sensible fix here is to... Stop adding them, and sidestep the whole issue.

Nick put this fix in today, and it should be live everywhere now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .