develooper Front page | perl.perl5.porters | Postings from April 2006

Re: [perl #39020] Pod::Html generates incorrect href's in some html anchors

From:
Steve Peters
Date:
April 30, 2006 07:48
Subject:
Re: [perl #39020] Pod::Html generates incorrect href's in some html anchors
Message ID:
20060430144837.GA27489@fisharerojo.org
On Fri, Apr 28, 2006 at 03:12:29PM -0700, bgstewart@covad.net wrote:
> # New Ticket Created by  bgstewart@covad.net 
> # Please include the string:  [perl #39020]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=39020 >
> 
> 
> This is a bug report for perl from bgstewart@covad.net,
> generated with the help of perlbug 1.35 running under perl v5.8.8.
> 
> 
> -----------------------------------------------------------------
> Pod::Html generates bad links for multiple-line =head# paragraphs
> that include X<> elements. Other directives that generate HTML
> Anchors may exhibit the same problem.
> 
> An example from perlop.pod in the base documentation:
> 
> =head2 Operator Precedence and Associativity
> X<operator, precedence> X<precedence> X<associativity>
> 
> produces:
> <h2><a name="operator_precedence_and_associativity_x_operator__precedence__x_precedence__x_associativity_">Operator Precedence and Associativity
>   </a></h2>
> 
> rather than the more useful:
> <h2><a name="operator_precedence_and_associativity">Operator Precedence and Associativity
>   </a></h2>
> 
> I believe the problem lies in sub dpod1 as indicated below.
> 

This problem was fixed with a combination of Changes #27832 and #27847 
in bleadperl.

Steve Peters
steve@fisharerojo.org



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