Closed p5pRT closed 20 years ago
The following change seems to have broken C\<> formatting in Pod::HTML:
____________________________________________________________________________ [ 4840] By: gsar on 2000/01/22 12:04:30 Log: heavy cleanup of Pod::Html bug fixes (from Wolfgang Laun \wolfgang\.laun@​alcatel\.at) Branch: perl ! lib/Pod/Html.pm ____________________________________________________________________________
Now lines like the following:
=item $handle->Method(ARG)
are rendered as
$handle->Method
i.e. everything inside the parens including the parens is gone.
The same thing happens for inline C\<> blocks. In
The Method() method call ...
the parentheses will be removed. I see that this is intentional:
[from process_puretext]:
if( $notinIS && $word =~ s/^(\w+)\((.*)\)\W*$/$1/ ) { # has parenthesis so should have been a C\<> ref ## try for a pagename (perlXXX(1))? ... $word = emit_C( $word );
but I disagree with that decision.
The creation of links for C\<> sections is also very broken. The following code looks very bogus to me:
sub coderef($$){ my( $page\, $item ) = @_; my( $url );
my $fid = fragment_id( $item ); return( $url\, $fid ); if( defined( $page ) ){
...
So most of the coderef() code is actually unreachable.
Migrated from rt.perl.org#2093 (status was 'resolved')
Searchable as RT2093$