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$NEXT | "
- . "\n$UP | "
- . "\n$PREVIOUS | "
- . "\n"
- . "\n $t_title | "
- . ($CONTENTS ? "\n$CONTENTS | " : $BLANK_ICON)
- . "\n$CUSTOM_BUTTONS | " # module index
- . ($INDEX ? "\n$INDEX | " : $BLANK_ICON)
- . "\n
"
- #. "
"
- . make_nav_sectref("Next", $NEXT_TITLE)
- . make_nav_sectref("Up", $UP_TITLE)
- . make_nav_sectref("Previous", $PREVIOUS_TITLE)
- );
+ my $s;
+ $s = ""
+ . "\n"
+ . "\n$NEXT | "
+ . "\n$UP | "
+ . "\n$PREVIOUS | "
+ . "\n"
+ . "\n $t_title | "
+ . ($CONTENTS ? "\n$CONTENTS | " : $BLANK_ICON)
+ . "\n$CUSTOM_BUTTONS | " # module index
+ . ($INDEX ? "\n$INDEX | " : $BLANK_ICON)
+ . "\n
"
+ #. "
"
+ . 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 {