summaryrefslogtreecommitdiffstats
path: root/httpd/cgi-bin/check
diff options
context:
space:
mode:
authorGuillaume Baudusseau <guibbs@users.noreply.github.com>2015-07-13 10:37:01 -0400
committerGuillaume Baudusseau <guibbs@users.noreply.github.com>2015-07-13 10:37:01 -0400
commit91be942687b71558036da1948a837b50c9fcaef1 (patch)
treeadf5dde8780d1a10e47d69eb8eb9eeefd6409ca6 /httpd/cgi-bin/check
parent10dba8adcefff7da357ee61c8f570bad9bb74958 (diff)
parent81a0aedac6fa74cf81f0e6b9902decea88c9e877 (diff)
downloadmarkup-validator-91be942687b71558036da1948a837b50c9fcaef1.zip
markup-validator-91be942687b71558036da1948a837b50c9fcaef1.tar.gz
markup-validator-91be942687b71558036da1948a837b50c9fcaef1.tar.bz2
Merge pull request #2 from w3c/sideshowbarker/file-upload
Inform file-upload users about Nu Html Checker.
Diffstat (limited to 'httpd/cgi-bin/check')
-rwxr-xr-xhttpd/cgi-bin/check3
1 files changed, 3 insertions, 0 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 258332c..05532a4 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -1608,6 +1608,9 @@ sub fin_template ($$)
}
else {
$T->param(file_version => $File->{Version});
+ if ($File->{Version} eq "HTML5") {
+ $T->param(is_html5 => TRUE);
+ }
}
my ($num_errors, $num_warnings, $num_info, $reported_errors) =
&report_errors($File);