diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index 6da39268fdd..6bf86f859c5 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -663,9 +663,14 @@ sub make_head_and_body($$) { $charset = $CHARSET; $charset =~ s/_/\-/go; } + # Remove section number from the title for use in the + # element in the document head. + my $metatitle = "$title"; + $metatitle =~ s/^\d+(\.\d+)*\s*//; + join('', $MY_PARTIAL_HEADER, - &meta_information($title), + &meta_information($metatitle), "", $title, "\n\n"); }