summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2005-07-27 04:32:01 +0000
committerot <ot@localhost>2005-07-27 04:32:01 +0000
commita9fc20835e40b41a42233e9ce4ffe7574ea831dd (patch)
tree385c3aebdbdb68c58f1f9febfff540a6be3a382b
parentcaf7fd0b6be258f8027ba4dcc77ccbfc1f5dd4fb (diff)
downloadmarkup-validator-a9fc20835e40b41a42233e9ce4ffe7574ea831dd.zip
markup-validator-a9fc20835e40b41a42233e9ce4ffe7574ea831dd.tar.gz
markup-validator-a9fc20835e40b41a42233e9ce4ffe7574ea831dd.tar.bz2
Quick fix for a shift in line number when using doctype override.
See http://www.w3.org/Bugs/Public/show_bug.cgi?id=1815
-rwxr-xr-xhttpd/cgi-bin/check6
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index ae9cf1c..26ed6af 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -9,7 +9,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.429 2005-07-26 06:50:42 ot Exp $
+# $Id: check,v 1.430 2005-07-27 04:32:01 ot Exp $
#
# Disable buffering on STDOUT!
@@ -204,7 +204,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.429 $;
+ $VERSION = q$Revision: 1.430 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -1297,7 +1297,7 @@ sub override_doctype {
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 = '';