Commit f61e6550 authored by Fred Drake's avatar Fred Drake

remove some generated cruft now that we avoid the removal of elements

with no content (due to the text_cleanup() override in l2hinit.perl)
parent 13e2901b
...@@ -743,16 +743,15 @@ sub idx_cmd_refstmodindex($){ ...@@ -743,16 +743,15 @@ sub idx_cmd_refstmodindex($){
sub do_cmd_nodename{ return do_cmd_label($_[0]); } sub do_cmd_nodename{ return do_cmd_label($_[0]); }
sub init_myformat(){ sub init_myformat(){
# These markers must be non-empty or the main latex2html script # This depends on the override of text_cleanup() in l2hinit.perl;
# may remove a surrounding element that has not other content as # if that function cleans out empty tags, the first three of these
# "extraneous"; this ensures these elements (usually hyperlink # variables must be set to comments.
# targets) are not removed improperly. We use comments since #
# there's no meaningful actual content.
# Thanks to Dave Kuhlman for figuring why some named anchors were # Thanks to Dave Kuhlman for figuring why some named anchors were
# being lost. # being lost.
$anchor_invisible_mark = '<!--x-->'; $anchor_invisible_mark = '';
$anchor_invisible_mark2 = '<!--y-->'; $anchor_invisible_mark2 = '';
$anchor_mark = '<!--z-->'; $anchor_mark = '';
$icons{'anchor_mark'} = ''; $icons{'anchor_mark'} = '';
} }
init_myformat(); init_myformat();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment