diff options
author | Marc Green <marcgreen@cpan.org> | 2011-07-04 10:29:20 -0400 |
---|---|---|
committer | Marc Green <marcgreen@cpan.org> | 2011-10-31 13:26:42 -0400 |
commit | e7721e60b0f1d1c236d88170a1b63450f6a475fa (patch) | |
tree | f12a39f356e7e9be5afdd50d7e29836fbc141d74 /ext/Pod-Html | |
parent | 8d43ec19861162fee4ce07b061af5cab293def9c (diff) | |
download | perl-e7721e60b0f1d1c236d88170a1b63450f6a475fa.tar.gz |
Clean up some documentation
Diffstat (limited to 'ext/Pod-Html')
-rw-r--r-- | ext/Pod-Html/lib/Pod/Html.pm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm index a4c53c6fa6..86392590e8 100644 --- a/ext/Pod-Html/lib/Pod/Html.pm +++ b/ext/Pod-Html/lib/Pod/Html.pm @@ -299,11 +299,12 @@ sub pod2html { $parser->quiet($Quiet); $parser->verbose($Verbose); - # TODO: implement default title generator in pod::simple::xhtml + # XXX: implement default title generator in pod::simple::xhtml + # copy the way the old Pod::Html did it $Title = html_escape($Title); # We need to add this ourselves because we use our own header, not - # ::XHTML's header. We still need to set $parser->backlink to linkify + # ::XHTML's header. We need to set $parser->backlink to linkify # the =head1 directives my $bodyid = $Backlink ? ' id="_podtop_"' : ''; @@ -355,7 +356,7 @@ HTMLFOOT if ($Podfile and $Podfile ne '-') { $input = $Podfile; } else { - $input = '-'; # note: make a test case for this + $input = '-'; # XXX: make a test case for this } } else { $Podfile = $ARGV[0]; @@ -513,8 +514,6 @@ sub anchorify { sub _save_page { my ($modspec, $modname) = @_; - # need to make sure all tests work on windows, clean up docs in this file, clean up test cases and filenames, - # Remove Podroot from path foreach my $podpath (@Podpath) { my $beg_path = File::Spec->catdir($Podroot, $podpath); @@ -587,7 +586,7 @@ sub resolve_pod_page_link { warn "Cannot find \"$to\" in podpath: " . "more than one possible replacement path to $to, " . "using $matches[-1]\n" unless $self->quiet; - # Use last one found so that newer perl PODs are used + # Use [-1] so newer (higher numbered) perl PODs are used $path = $self->pages->{$matches[-1]}; } } else { |