Re: highlighting html content

2009-04-28 Thread Matt Mitchell
Hi Christian, I decided to do something very similar. How do you handle cases where the highlighting is inside of html/xml tags though? I'm getting stuff like this: ?q=jackson Bad by Michael Jackson I wrote a regular expression to take care of the html/xml problem (highlighting inside of the ta

Re: highlighting html content

2009-04-28 Thread Christian Vogler
Hi Matt, On Tue, Apr 28, 2009 at 4:24 AM, Matt Mitchell wrote: > I've been toying with setting custom pre/post delimiters and then removing > them in the client, but I thought I'd ask the list before I go to far with > that idea :) this is what I do. I define the custom highlight delimiters as [

highlighting html content

2009-04-27 Thread Matt Mitchell
Hi, I've been looking around but can't seem to find any clear instruction on how to do this... I'm storing html content and would like to enable highlighting on the html content. The problem is that the search can sometimes match html element names or attributes, and when the highlighter adds the