New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for pod2html links to ".html#foobar" #10688
Comments
From occitan@esperanto.org long ago I experimented with various options till I finally managed to coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From occitan@esperanto.orgPod::Html.patch--- old/Pod/Html.pm 2010-09-29 23:23:38.696072054 +0200
+++ new/Pod/Html.pm 2010-09-29 23:26:17.608673584 +0200
@@ -2021,7 +2021,7 @@
# =item directive, then create a link to that page.
if( defined $page ){
if( $page ){
- if( exists $Pages{$page} and $Pages{$page} =~ /([^:.]*)\.[^:]*:/){
+ if( exists $Pages{$page} and $Pages{$page} =~ /([^:.]*)\.[^:.]*:/){
$page = $1 . '.html';
}
my $link = "$Htmlroot/$page#" . anchorify($fid);
|
From @cpansproutOn Sun Oct 03 10:40:59 2010, occitan@esperanto.org wrote:
Your patch does not apply against bleadperl, but there is a good chance -- Father Chrysostomos |
The RT System itself - Status changed from 'new' to 'open' |
From occitan@esperanto.orgla 11/27/2011 07:07 AM Father Chrysostomos via RT skribis:
Gosh, I don't remember. I have somehow worked around this in the makepp doc, And you scare me by saying that it has been rewritten on top of Pod::Simple! Otoh I hope you finally made X<anchors> work, even though for makepp, which is coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn -- |
From @tonycozOn Mon Nov 28 13:37:33 2011, occitan@esperanto.org wrote:
I tested this with a pod file test.pod which linked to test2.pod in the Then ran: ~/perl/v5.19.1-487-gdd686e5/bin/pod2html5.19.2 --podpath=. --podroot=. This produced the html: <p><a href="./test2.html">test2</a></p> So assuming my test is good, this is fixed. I'll close this in a few days unless the requestor can provide a test Tony |
From @tonycozOn Wed Jul 17 18:00:11 2013, tonyc wrote:
Closing. Tony |
@tonycoz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#78190 (status was 'resolved')
Searchable as RT78190$
The text was updated successfully, but these errors were encountered: