Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 67800
Status: open
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: delskorch [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.3800
Fixed in: (no value)



Subject: Incorrect links generated in HTMLified POD
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 593
Download (untitled) / with headers
text/plain 593b
hrefs point too far up the path hierarchy (too many ../../). For example, if in the POD for Foo::Bar1 a link is specified for Foo::Bar2 see also L<Foo::Bar2> this should result in <a href="../Foo/Bar2"> but M:B generates <a href="../../../FooBar2"> My first guess is that the following change is needed in htmlify_pods in M:B:Base. - my $path2root = join( '/', ('..') x (@rootdirs+@dirs) ); + my $path2root = join( '/', ('..') x (@dirs) ); Problem experienced using M:B 0.38 Perl 5.10.1 Debian 6.0.1 (squeeze) Link generation appeared to be correct in M:B 0.3607


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.