diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index 8d737c0ee44..cd81c0a876d 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -122,22 +122,24 @@ sub make_nav_sectref{ } sub make_nav_panel{ - return ("" - . "\n" - . "\n" - . "\n" - . "\n" - . "\n" - . ($CONTENTS ? "\n" : $BLANK_ICON) - . "\n" # module index - . ($INDEX ? "\n" : $BLANK_ICON) - . "\n
$NEXT$UP$PREVIOUS" - . "\n $t_title$CONTENTS$CUSTOM_BUTTONS$INDEX
" - #. "
" - . make_nav_sectref("Next", $NEXT_TITLE) - . make_nav_sectref("Up", $UP_TITLE) - . make_nav_sectref("Previous", $PREVIOUS_TITLE) - ); + my $s; + $s = "" + . "\n" + . "\n" + . "\n" + . "\n" + . "\n" + . ($CONTENTS ? "\n" : $BLANK_ICON) + . "\n" # module index + . ($INDEX ? "\n" : $BLANK_ICON) + . "\n
$NEXT$UP$PREVIOUS" + . "\n $t_title$CONTENTS$CUSTOM_BUTTONS$INDEX
" + #. "
" + . make_nav_sectref("Next", $NEXT_TITLE) + . make_nav_sectref("Up", $UP_TITLE) + . make_nav_sectref("Previous", $PREVIOUS_TITLE); + $s =~ s/ NAME="tex2html\d+"\n//g; + return $s; } sub top_navigation_panel {