Chm Search mangles Syntaxhighlighter's Highlighting

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.
Post Reply
cameronm
Jr. Propeller Head
Posts: 5
Joined: Sun Apr 10, 2016 9:57 pm

Chm Search mangles Syntaxhighlighter's Highlighting

Post by cameronm »

Hi!

I've introduced Syntaxhighlighter for code samples, and I've found an annoying issue.

When I navigate to a page with highlighted code via a keyword search, the CHM program highlights my keyword in the page - including where it occurs in my code. The problem is that the styles wrapped around the matched result in the code sample display pre-formatted too!

Heres how it should look...
code.png
and here's how it actually looks...
code_mangled_by_chm_search.png
Of course when I refresh the page this removes the highlights from keyword matches, and the code is then displayed properly.

Has anyone else experienced this before and do you know of a workaround?

Thanks!

Cam
You do not have the required permissions to view the files attached to this post.
Post Reply