Skip Menu |

This queue is for tickets about the podlators CPAN distribution.

Report information
The Basics
Id: 76396
Status: resolved
Priority: 0/
Queue: podlators

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc: root [...] schmorp.de
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.3.0
Fixed in: 2.4.1



CC: root [...] schmorp.de
Subject: pod2man mishandles certain characters in L<url> (RT #80470)
This ticket was originally reported in the Perl 5 bug queue at: https://rt.perl.org/rt3/Ticket/Update.html?id=80470. Since pod2man is now primarily maintained on CPAN, I am forwarding the report here. If it has been dealt with, please close. Thank you very much. Jim Keenan ##### Sometime between 5.10.0 and 5.12.2, pod2man acquired broken L<url> handling. An example can be seen in urxvt-unicode manpages. source: The newest version of this document is also available on the World Wide Web at L<http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod>. 5.10.0 (5.10.1 not tested) The newest version of this document is also available on the World Wide Web at http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod. 5.12.2 The newest version of this document is also available on the World Wide Web at http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod <http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod>. Basically, L<url> references now get duplicated, once just the URL, once with <> around them. Clearly, either it should be just the naked URL or something like URL<...>. #####
Subject: Re: [rt.cpan.org #76396] pod2man mishandles certain characters in L<url> (RT #80470)
Date: Sat, 07 Apr 2012 19:23:58 -0700
To: bug-podlators [...] rt.cpan.org
From: Russ Allbery <rra [...] stanford.edu>
"James E Keenan via RT" <bug-podlators@rt.cpan.org> writes: Show quoted text
> Basically, L<url> references now get duplicated, once just the URL, once > with <> around them. Clearly, either it should be just the naked URL or > something like URL<...>.
It should just be the naked URL surrounded in <>. My guess is that something changed about Pod::Simple that is now confusing it. I'll take a look (it's massively overdue for a new release). -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Subject: Re: [rt.cpan.org #76396] pod2man mishandles certain characters in L<url> (RT #80470)
Date: Sat, 26 May 2012 11:09:51 -0700
To: bug-podlators [...] rt.cpan.org
From: Russ Allbery <rra [...] stanford.edu>
"James E Keenan via RT" <bug-podlators@rt.cpan.org> writes: Show quoted text
> Sometime between 5.10.0 and 5.12.2, pod2man acquired broken L<url> > handling. An example can be seen in urxvt-unicode manpages.
Show quoted text
> source:
Show quoted text
> The newest version of this document is also available on the World Wide > Web at > L<http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod>.
The problem was specifically with URLs containing a hyphen. pod2man was comparing the URL with the anchor text to see if they were the same and suppressing the anchor if they were, but the anchor text is formatted, so the - had been changed to \-. The next release will format both so that the comparison will match. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
CC: jkeenan [...] cpan.org
Subject: Re: [rt.cpan.org #76396] pod2man mishandles certain characters in L<url> (RT #80470)
Date: Mon, 28 May 2012 06:55:15 +0200
To: "rra [...] stanford.edu via RT" <bug-podlators [...] rt.cpan.org>
From: Marc Lehmann <schmorp [...] schmorp.de>
On Sat, May 26, 2012 at 02:10:03PM -0400, "rra@stanford.edu via RT" <bug-podlators@rt.cpan.org> wrote: Show quoted text
> The problem was specifically with URLs containing a hyphen. pod2man was > comparing the URL with the anchor text to see if they were the same and > suppressing the anchor if they were, but the anchor text is formatted, so > the - had been changed to \-. The next release will format both so that > the comparison will match.
That's absolutely great news, you have no idea how many projects can now proceed to use newer perls for their documentation :) Thanks a lot for taking care of this. -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schmorp@schmorp.de -=====/_/_//_/\_,_/ /_/\_\