Bug#378327: Pod::Html and << >> delimiters

Niko Tyni ntyni at debian.org
Thu Nov 4 18:33:04 UTC 2010


On Sat, Feb 13, 2010 at 06:51:27PM +0100, David Landgren wrote:
> Niko Tyni a écrit :
> >Hi David,
> >
> >I see you've dual-lifed Pod-Html to CPAN. The RT queue at
> >http://rt.cpan.org/NoAuth/Bugs.html?Dist=Pod-Html doesn't work however,
> >so I'm contacting you directly.  Please let me know if you'd prefer a
> >ticket at rt.perl.org or something like that.
> 
> wow, blast from the past. Sorry, this disappeared into a sub-folder.
> I'll look into this, thanks for the report

Hi David,

pinging in case you forgot about this :)

> >As reported by Jakub Wilk in <http://bugs.debian.org/378327> (Cc'd as
> >378327 at bugs.debian.org), pod2html doesn't handle multiple angled bracket
> >delimiters (C<< foo >>) quite correctly.
> >
> >There's some misunderstanding about the problem in the bug trace, so
> >just for the record: the perlpod documentation currently states
> >
> >       A more readable, and perhaps more "plain" way is to use an
> >       alternate set of delimiters that doesn’t require a single ">"
> >       to be escaped.  With the Pod formatters that are standard starting
> >       with perl5.5.660, doubled angle brackets ("<<" and ">>") may be
> >       used if and only if there is whitespace right after the opening
> >       delimiter and whitespace right before the closing delimiter!
> >
> >so I<< x >> is supposed to turn into <em>x</em> just like I<x>.
> >
> >I'm attaching a patch against the CPAN 1.09_4 version that includes some
> >testcases failing with the current code and proposed fixes.  The changes
> >are pretty straightforward: the _go_ahead() function already has the
> >needed logic for matching the right number of closing brackets.

-- 
Niko Tyni   ntyni at debian.org






More information about the Perl-maintainers mailing list