W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2005

validator/httpd/cgi-bin check,1.429,1.430

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 27 Jul 2005 04:32:03 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1DxdaN-0004dg-Kt@lionel-hutz.w3.org>

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

Modified Files:
	check 
Log Message:
Quick fix for a shift in line number when using doctype override.
See http://www.w3.org/Bugs/Public/show_bug.cgi?id=1815



Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.429
retrieving revision 1.430
diff -u -d -r1.429 -r1.430
--- check	26 Jul 2005 06:50:42 -0000	1.429
+++ check	27 Jul 2005 04:32:01 -0000	1.430
@@ -1297,7 +1297,7 @@
   my $sysid = $dt->{SysID};
   my $name  = $dt->{Name};
   local $dtd = qq(<!DOCTYPE $name PUBLIC "$pubid");
-  $dtd .= qq(\n  "$sysid") if $sysid; # We don't have one for all types.
+  $dtd .= qq( "$sysid") if $sysid; # We don't have one for all types.
   $dtd .= '>';
   local $org_dtd = '';
   local $HTML = '';
Received on Wednesday, 27 July 2005 04:32:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:49 GMT