docs: Use man page name as default title in HTML output.

This commit is contained in:
Richard W.M. Jones
2012-08-21 22:02:21 +01:00
parent 52a60349ab
commit c638e1f03d

View File

@@ -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) {