diff options
author | Fred Drake <fdrake@acm.org> | 2001-08-17 17:20:44 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-08-17 17:20:44 (GMT) |
commit | 2dc07946bfacd57b27ae6d180a9e3a5d7cbe8b58 (patch) | |
tree | 405d5a85859c1656590df4fffeece1731da2799c /Doc | |
parent | 1a49350e8d7fdf7c847cc41bc1d3511dd203320d (diff) | |
download | cpython-2dc07946bfacd57b27ae6d180a9e3a5d7cbe8b58.zip cpython-2dc07946bfacd57b27ae6d180a9e3a5d7cbe8b58.tar.gz cpython-2dc07946bfacd57b27ae6d180a9e3a5d7cbe8b58.tar.bz2 |
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.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/perl/SynopsisTable.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/perl/SynopsisTable.pm b/Doc/perl/SynopsisTable.pm index 9e528ab..a77a016 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 = "<a href='module-$key.html'>"; + $synopsis =~ s/<tex2html_percent_mark>/%/g; + $synopsis =~ s/<tex2html_ampersand_mark>/\&/g; $data .= (' <tr' . ($oddrow ? " class='oddrow'>\n " : '>') . "<td><b><tt class='module'>$link$name</a></tt></b></td>\n" |