From: Fred Drake Date: Fri, 17 Aug 2001 17:20:44 +0000 (+0000) Subject: Make sure that ampersand escaping is still performed on the contents of X-Git-Tag: v2.2a3~472 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2dc07946bfacd57b27ae6d180a9e3a5d7cbe8b58;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Doc/perl/SynopsisTable.pm b/Doc/perl/SynopsisTable.pm index 9e528ab74730..a77a016a7b74 100644 --- a/Doc/perl/SynopsisTable.pm +++ b/Doc/perl/SynopsisTable.pm @@ -58,6 +58,8 @@ sub tohtml{ foreach $name (split /,/, $self->{names}) { my($key,$type,$synopsis) = $self->get($name); my $link = ""; + $synopsis =~ s//%/g; + $synopsis =~ s//\&/g; $data .= (' \n " : '>') . "$link$name\n"