Bug#378327: pod2html converts I<< ... >> etc. incorrectly

Niko Tyni ntyni at debian.org
Fri Apr 3 19:17:31 UTC 2009


found 378327 5.10.0-19
thanks

On Sat, Jul 15, 2006 at 01:14:26PM +0200, Jakub Wilk wrote:
> Package: perl
> Version: 5.8.8-4
> Severity: normal

> pod2html fails to convert I<< ... >>, B<< ... >>, F<< ... >> and S<< ... 
> >> in the expected manner:
>
> $ cat buggy
> __END__
>
> =head1 FOO
>
> I<< x >>
>
> B<< x >>
>
> F<< x >>
>
> S<< x >>
>
> =cut
>
> $ pod2html buggy | grep '&gt;'
> <p><em>x </em>&gt;</p>
> <p><strong>x </strong>&gt;</p>
> <p><em>x </em>&gt;</p>
> <p>x&nbsp;&gt;</p>

This is still the case for 5.10.0. The POD reference in perlpod.pod says
this about the doubled angle bracket delimiters:

 This is currently supported by pod2text (Pod::Text), pod2man (Pod::Man),
 and any other pod2xxx or Pod::Xxxx translators that use Pod::Parser
 1.093 or later, or Pod::Tree 1.02 or later.

Unfortunately Pod::Html isn't one of those.
-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list