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>
> 

It appears to be behaving as expected.  The only problem is the missing 
E<lt> and E<gt>.

[EMAIL PROTECTED]:~$ cat not_buggy
__END__

=head1 FOO

I<E<lt> x E<gt>>

B<E<lt> x E<gt>>

F<E<lt> x E<gt>>

S<E<lt> x E<gt>>

=cut

[EMAIL PROTECTED]:~$ pod2html not_buggy | grep '&gt;'
/usr/bin/pod2html: no title for not_buggy.
<p><em>&lt; x &gt;</em></p>
<p><strong>&lt; x &gt;</strong></p>
<p><em>&lt; x &gt;</em></p>
<p>&lt;&nbsp;x&nbsp;&gt;</p>


Steve Peters
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to