- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 11 Feb 2006 12:25:12 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv14907 Modified Files: Tag: validator-0_7-branch check Log Message: Prevent wrap() in parse tree from dying with deeply nested docs (#2623). Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.432.2.7 retrieving revision 1.432.2.8 diff -u -d -r1.432.2.7 -r1.432.2.8 --- check 26 Jan 2006 20:35:24 -0000 1.432.2.7 +++ check 11 Feb 2006 12:25:09 -0000 1.432.2.8 @@ -1666,6 +1666,7 @@ next; } elsif ($prevdata) { $prevdata =~ s/\s+/ /g; + local($Text::Wrap::huge) = 'overflow'; # bug 2623 $tree .= &ent(wrap(' ' x $indent, ' ' x $indent, $prevdata)) . "\n"; undef $prevdata; }
Received on Saturday, 11 February 2006 12:25:16 UTC