From 2dc07946bfacd57b27ae6d180a9e3a5d7cbe8b58 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 17 Aug 2001 17:20:44 +0000 Subject: 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. --- Doc/perl/SynopsisTable.pm | 2 ++ 1 file changed, 2 insertions(+) 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 = ""; + $synopsis =~ s//%/g; + $synopsis =~ s//\&/g; $data .= (' \n " : '>') . "$link$name\n" -- cgit v0.12