From: Fred Drake Date: Thu, 29 Apr 1999 19:06:56 +0000 (+0000) Subject: make_nav_panel(): Remove the spurious NAME="tex2html\d+" attributes X-Git-Tag: v1.6a1~1405 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a00754468fc9be47636a3fb06f6f14f4ecbf9095;p=thirdparty%2FPython%2Fcpython.git make_nav_panel(): Remove the spurious NAME="tex2html\d+" attributes added to the anchors in the navigation bars. These are added somewhere deep with l2h, and are stupid. --- diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index 8d737c0ee44d..cd81c0a876da 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 {