develooper Front page | perl.pod-people | Postings from June 2012

Nested Links in XHTML Head Elements

Thread Next
From:
David E. Wheeler
Date:
June 7, 2012 09:03
Subject:
Nested Links in XHTML Head Elements
Message ID:
2D48CDED-5060-4E96-86B4-229376801AFD@justatheory.com
Begin forwarded message:

> From: "Ben Bullock via RT" <bug-Pod-Simple@rt.cpan.org>
> Subject: [rt.cpan.org #77686] 
> Date: June 7, 2012 4:04:40 AM PDT
> To: undisclosed-recipients:;
> Reply-To: bug-Pod-Simple@rt.cpan.org
> 
> This bug report relates to the following:
> 
> https://github.com/CPAN-API/metacpan-web/issues/597
> 
> When Pod::Simple::XHTML is run on the most recent version of perldelta,
> 
> wget http://api.metacpan.org/source/ZEFRAM/perl-5.17.0/pod/perldelta.pod
> 
> it creates a doubled link in the index, like this:
> 
> <a href="#perldata"><a href="http://search.cpan.org/perldoc?
> perldata">perldata</a></a></li>
> 
> This is caused by the L<perldata> heading in perldelta.pod.

So, should Pod::Simple’s HTML output:

* Strip links from head elements; or
* Exclude head elements with links from the TOC; or
* Something else?

David



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About