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

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 UTC