Subject: | B<> etc markup in verbatim |
Date: | Thu, 31 May 2012 08:43:07 +1000 |
To: | bug-Gtk2-Ex-PodViewer [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
It looks like Gtk2::Ex::PodViewer turns B<> etc markup in verbatim
paragraphs into fontification. I believe that's incorrect, that any B<>
etc in verbatim should be left alone.
I struck this with a bit of mathematics in a verbatim
if X<=0 then some thing
which produced a carp from Gtk2::Ex::PodViewer about unterminated "X<"
when it took that to be an X<> index markup.
I'd suspect Gtk2::Ex::PodViewer::Parser verbatim() might insert the text
straight into the buffer, with monospace tag or whatever, and not do the
crunching of of L<>, B<>, E<> etc by insert_text().