summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpodwrapper.pl.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/podwrapper.pl.in b/podwrapper.pl.in
index aa098530..db1200c1 100755
--- a/podwrapper.pl.in
+++ b/podwrapper.pl.in
@@ -452,6 +452,11 @@ SUBHTML: {
$r .= "#" . $self->idify ($anchor, 1) if defined $anchor;
$r;
}
+
+ # For some reason Pod::Simple::XHTML usually cannot find a
+ # title for the page. This defaults the HTML <title> field
+ # to the same as the man page name.
+ sub default_title { $name }
}
if ($html) {