- From: Ville Skytta <ville@dev.w3.org>
- Date: Sat, 13 Nov 2004 21:40:13 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv27410
Modified Files:
check
Log Message:
Prevent wrap() from breaking entities in parsetree() (#877).
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -d -r1.358 -r1.359
--- check 13 Nov 2004 15:55:23 -0000 1.358
+++ check 13 Nov 2004 21:40:11 -0000 1.359
@@ -1869,9 +1869,8 @@
$prevdata .= $line;
next;
} elsif ($prevdata) {
- $prevdata = &ent($prevdata);
- $prevdata =~ s/\s+/ /go;
- $tree .= wrap(' ' x $indent, ' ' x $indent, $prevdata) . "\n";
+ $prevdata =~ s/\s+/ /g;
+ $tree .= &ent(wrap(' ' x $indent, ' ' x $indent, $prevdata)) . "\n";
undef $prevdata;
}
Received on Saturday, 13 November 2004 21:40:27 UTC