[ALLENDAY - Tue Oct 12 23:37:55 2004]:
Show quoted text> you need to escape html metacharacters, e.g. '<' -> '<'. i tried
> using this module from a CGI and to display the CGI's own source
> code in its output, and this bug botched it. i can do a post-
> highlight s///, but then some of the coloring goes away.
>
> would be better to do this internally.
It's in the documentation...
Substitutions
Using define_substitution(), you can have the formatter substitute
certain strings with others, after the original string has been parsed
(but before formatting is applied). This is useful for escaping
characters special to the output mode (eg, > and < in HTML) without them
affecting the way the code is parsed.
You can retrieve the current substitutions (as a hash-ref) via
substitutions().