Ortus-Solutions/ContentBox — pull request #90 by bdw429s (2013-05-28 21:48:06+00:00)
Title: CONTENTBOX-202 fixed DBSearch display issues.

DBSearch is stripping HTML after highlighting the search which is counter-productive since it stripping the highlight back out.
The highlight also truncates the text such that the StripHTML function leaves parts of tags at the beginning or end of the string.
I also don't think the HTMLEditFormat is necessary. If the content has escaped HTML entities such as is messes those up so the HTML shows up on the search results screen.
Also, to help clean up redundant and unhelpful data, modify the categories to only display if there are actually categories assigned to that piece of content.
Additionally, to make the search page more user-friendly, make the full URL at the bottom of the excerpt an actual link so the user can click on it as well.

https://ortussolutions.atlassian.net/browse/CONTENTBOX-202