From c638e1f03d2700560fe32c0889224ac29bd52334 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 21 Aug 2012 22:02:21 +0100 Subject: [PATCH] docs: Use man page name as default title in HTML output. --- podwrapper.pl.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/podwrapper.pl.in b/podwrapper.pl.in index aa098530b..db1200c18 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 field + # to the same as the man page name. + sub default_title { $name } } if ($html) {