summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2008-08-19 13:20:24 +0000
committerot <ot@localhost>2008-08-19 13:20:24 +0000
commitb1edc9eb2642497f932ac0e0d16dd0b077bb4dd8 (patch)
tree6845a9a4f933679212c56636e016037586b4aafe
parentcabfeaf84125e060e2f207a0c408cf12864dea9b (diff)
downloadmarkup-validator-b1edc9eb2642497f932ac0e0d16dd0b077bb4dd8.zip
markup-validator-b1edc9eb2642497f932ac0e0d16dd0b077bb4dd8.tar.gz
markup-validator-b1edc9eb2642497f932ac0e0d16dd0b077bb4dd8.tar.bz2
shifting column locator by one to match validator.nu and onsgmls output
-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 c5a08e8..d3c9ed7 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -14,7 +14,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.597 2008-08-18 14:32:32 ot Exp $
+# $Id: check,v 1.598 2008-08-19 13:20:24 ot Exp $
#
# Disable buffering on STDOUT!
@@ -191,7 +191,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.597 $;
+ $VERSION = q$Revision: 1.598 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -889,7 +889,7 @@ sub html5_validate (\$) {
}
if($attribute->name eq "last-column") {
- $html5_error_col = $attribute->getValue();
+ $html5_error_col = $attribute->getValue()-1;
}
if($attribute->name eq "last-line") {
$html5_error_line = $attribute->getValue();