summaryrefslogtreecommitdiffstats
path: root/httpd/cgi-bin/check
diff options
context:
space:
mode:
authorot <ot@localhost>2007-09-05 08:14:33 +0000
committerot <ot@localhost>2007-09-05 08:14:33 +0000
commitf321f42e1d23095780123a62f0c09f1120c5e837 (patch)
tree2cabf1e92be0c0435ecefcf04825660613038959 /httpd/cgi-bin/check
parent1d7e2cac74bbf28da3f30a3c4eb137477bef2ee4 (diff)
downloadmarkup-validator-f321f42e1d23095780123a62f0c09f1120c5e837.zip
markup-validator-f321f42e1d23095780123a62f0c09f1120c5e837.tar.gz
markup-validator-f321f42e1d23095780123a62f0c09f1120c5e837.tar.bz2
patch by Brett Bieber for Bug/Enhancement 4342
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4342 including the content for revalidation even when using upload or direct input.
Diffstat (limited to 'httpd/cgi-bin/check')
-rwxr-xr-xhttpd/cgi-bin/check7
1 files changed, 3 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 58209e0..7f2e8ea 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.559 2007-09-03 06:57:41 ot Exp $
+# $Id: check,v 1.560 2007-09-05 08:14:32 ot Exp $
#
# Disable buffering on STDOUT!
@@ -186,7 +186,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.559 $;
+ $VERSION = q$Revision: 1.560 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -961,8 +961,7 @@ if ($File->{Opt}->{Output} eq 'xml') {
$template->param(file_warnings => $File->{Warnings});
$template->param(tidy_output => $File->{'Tidy'});
-$template->param(file_source => &source($File))
- if $template->param('opt_show_source');
+$template->param(file_source => &source($File));
#$template->param('opt_show_esis' => TRUE)
# if $File->{Opt}->{'Show ESIS'};
#$template->param('opt_show_raw_errors' => TRUE)