summaryrefslogtreecommitdiffstats
path: root/httpd/cgi-bin/check
diff options
context:
space:
mode:
authorMichael[tm] Smith <mike@w3.org>2015-07-12 17:30:10 +0900
committerMichael[tm] Smith <mike@w3.org>2015-07-12 17:31:03 +0900
commit81a0aedac6fa74cf81f0e6b9902decea88c9e877 (patch)
tree200faa341512b8aef7c696fede8e558c28f78af6 /httpd/cgi-bin/check
parent65d7acda7482a3401bbff278c286f09bd8f8b03d (diff)
downloadmarkup-validator-81a0aedac6fa74cf81f0e6b9902decea88c9e877.zip
markup-validator-81a0aedac6fa74cf81f0e6b9902decea88c9e877.tar.gz
markup-validator-81a0aedac6fa74cf81f0e6b9902decea88c9e877.tar.bz2
Inform file-upload users about Nu Html Checker.
This is a companion to PR #1.
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 75a52a9..228ad3a 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -1569,6 +1569,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);