Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Simple CPAN distribution.

Report information
The Basics
Id: 56572
Status: resolved
Priority: 0/
Queue: Pod-Simple

People
Owner: dwheeler [...] cpan.org
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 3.15



Subject: Pod::Simple::HTML Should Strip Trailing Whitespace From Locations
Date: Tue, 13 Apr 2010 13:40:29 -0700
To: bug-pod-simple [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
Noticed while reading http://search.cpan.org/dist/perl-5.12.0/pod/perl5120delta.pod. Its link to perlop for the Yada Yada Yada operator is #Yada_Yada_Yada, which is corret, but perlop has crated that location as #Yada_Yada_Operator___. This is because the header looks like this: =head2 Yada Yada Operator X<...> X<... operator> X<yada yada operator> The X<> stuff is stripped out, as it's not used for formatting, but the whitespace gets left over. This whitespace should be stripped out before the location name is created (perhaps in section_name_tidy()?). Make sure that such links work properly in XHTML output, too.
Fixed in https://github.com/theory/pod- simple/commit/51a052ed53c52dc717e38e7685124a7e2023eb01.