danf: curl-www/auto cvs2html.pl,1.11,1.12
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv20357
Modified Files:
cvs2html.pl
Log Message:
HTML-escape ampersands in comments.
Index: cvs2html.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/cvs2html.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cvs2html.pl 19 Oct 2006 13:26:35 -0000 1.11
+++ cvs2html.pl 23 Jan 2007 19:51:23 -0000 1.12
@@ -390,7 +390,7 @@
print "</td><td>";
my %comm;
- # loop over all athours
+ # loop over all authors
foreach $author (split(":::", $changedates{$date})) {
# loop over all comments by this author at this date
@@ -400,6 +400,7 @@
}
my $comm = join(" ", keys %comm);
+ $comm =~ s/&/&/g;
$comm =~ s/\</</g;
$comm =~ s/\>/>/g;