Re: Improving the highlighter output for use in html

2009-02-09 Thread Jeffrey Baker
On Mon, Feb 9, 2009 at 2:59 PM, Jeffrey Baker wrote: > The default highlighter output is bogus if you're trying to use the > snippets in a web browser. With the default delimiters, the > temptation is to just stick the snippets in an innerHTML property, but > the problem is that other HTML speci

Improving the highlighter output for use in html

2009-02-09 Thread Jeffrey Baker
The default highlighter output is bogus if you're trying to use the snippets in a web browser. With the default delimiters, the temptation is to just stick the snippets in an innerHTML property, but the problem is that other HTML special characters (< > and &) are not escaped. For example, a hig