W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2004

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

From: Ville Skytta <ville@dev.w3.org>
Date: Fri, 18 Jun 2004 16:55:34 +0000
To: www-validator-cvs@w3.org
Message-Id: <20040618165534.AF6004A867@hutz.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:06 UTC