[Python-checkins] CVS: python/dist/src/Doc/perl SynopsisTable.pm,1.7,1.8
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 17 Aug 2001 10:20:46 -0700
Update of /cvsroot/python/python/dist/src/Doc/perl
In directory usw-pr-cvs1:/tmp/cvs-serv12295
Modified Files:
SynopsisTable.pm
Log Message:
Make sure that ampersand escaping is still performed on the contents of
local module tables (the lists of modules documented within a chapter,
inserted at the beginning of the chapter). If this is not done here,
the text is not part of the resulting documents when latex2html does the
processing normally.
This fixes a little bit more of SF bug #451556.
Index: SynopsisTable.pm
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/SynopsisTable.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** SynopsisTable.pm 2001/05/09 15:32:14 1.7
--- SynopsisTable.pm 2001/08/17 17:20:44 1.8
***************
*** 59,62 ****
--- 59,64 ----
my($key,$type,$synopsis) = $self->get($name);
my $link = "<a href='module-$key.html'>";
+ $synopsis =~ s/<tex2html_percent_mark>/%/g;
+ $synopsis =~ s/<tex2html_ampersand_mark>/\&/g;
$data .= (' <tr'
. ($oddrow ? " class='oddrow'>\n " : '>')