[Python-checkins] python/dist/src/Doc/perl python.perl,1.160,1.161
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Thu Nov 11 09:05:41 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/perl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2106
Modified Files:
python.perl
Log Message:
remove some generated cruft now that we avoid the removal of elements
with no content (due to the text_cleanup() override in l2hinit.perl)
Index: python.perl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/python.perl,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- python.perl 11 Nov 2004 05:42:13 -0000 1.160
+++ python.perl 11 Nov 2004 08:05:34 -0000 1.161
@@ -743,16 +743,15 @@
sub do_cmd_nodename{ return do_cmd_label($_[0]); }
sub init_myformat(){
- # These markers must be non-empty or the main latex2html script
- # may remove a surrounding element that has not other content as
- # "extraneous"; this ensures these elements (usually hyperlink
- # targets) are not removed improperly. We use comments since
- # there's no meaningful actual content.
+ # This depends on the override of text_cleanup() in l2hinit.perl;
+ # if that function cleans out empty tags, the first three of these
+ # variables must be set to comments.
+ #
# Thanks to Dave Kuhlman for figuring why some named anchors were
# being lost.
- $anchor_invisible_mark = '<!--x-->';
- $anchor_invisible_mark2 = '<!--y-->';
- $anchor_mark = '<!--z-->';
+ $anchor_invisible_mark = '';
+ $anchor_invisible_mark2 = '';
+ $anchor_mark = '';
$icons{'anchor_mark'} = '';
}
init_myformat();
More information about the Python-checkins
mailing list