diff options
-rw-r--r-- | lib/Pod/Html.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm index 5238a1a1a7..e9c640cf5d 100644 --- a/lib/Pod/Html.pm +++ b/lib/Pod/Html.pm @@ -1506,7 +1506,8 @@ sub process_L { $link = "#" . htmlify(0,$section); $linktext = $section unless defined($linktext); } elsif ( $page =~ /::/ ) { - $linktext = ($section ? "$section" : "$page"); + $linktext = ($section ? "$section" : "$page") + unless defined($linktext); $page =~ s,::,/,g; # Search page cache for an entry keyed under the html page name, # then look to see what directory that page might be in. NOTE: |