validator/httpd/cgi-bin check,1.305.2.141,1.305.2.142

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv20450

Modified Files:
      Tag: validator-0_6_0-branch
	check 
Log Message:
HTML-escape warning messages from onsgmls (bug 803), kudos to Bjoern.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.305.2.141
retrieving revision 1.305.2.142
diff -u -d -r1.305.2.141 -r1.305.2.142
--- check	4 Jun 2004 06:47:23 -0000	1.305.2.141
+++ check	18 Jun 2004 16:55:32 -0000	1.305.2.142
@@ -1724,8 +1724,7 @@
       $err->{msg}  = join ':', @errors[6 .. $#errors];
     } elsif ($err->{type} eq 'W') {
       &add_warning($File, 'fake', 'Warning:',
-        "Line $err->{line}, column $err->{char}: $errors[6]",
-      );
+        "Line $err->{line}, column $err->{char}: " . &ent($errors[6]));
       $err->{msg}  = join ':', @errors[6 .. $#errors];
     } else {
       $err->{type} = 'I';

Received on Friday, 18 June 2004 12:55:34 UTC