Completely disable search highlighting (no span tag insert)?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
Evetsm
Propeller Head
Posts: 90
Joined: Wed Apr 30, 2014 8:32 am

Completely disable search highlighting (no span tag insert)?

Post by Evetsm »

We're using Flare 11 with the TriPane skin for one of our projects. It includes topics with lots of code blocks, and users often search for code snippets that appear in the code blocks.

In the individual search results pages, Flare inserts this HTML tag for each instance of the search term:

Code: Select all

<span class="SearchHighlight SearchHighlight1">searchterm</span>
Unfortunately, the above tag then appears right in the middle of the code blocks, as part of the code.

Is there any way to completely disable search highlighting, so that the highlight span tag is never inserted at all?
ghillerson
Propeller Head
Posts: 85
Joined: Wed Mar 05, 2014 10:22 pm
Location: Near Santa Cruz, CA
Contact:

Re: Completely disable search highlighting (no span tag inse

Post by ghillerson »

I was just pondering this myself. It looks like you can go into the skin editor, drill down to Search Results | Search Highlight, and then change everything in there. Change Search Highlight background to transparent, and change the font to match the styling in your body.

You may have to (i did) repeat this change in 'Search Highlight 01', 'Search Highlight 02', and so on.
Post Reply