- From: Terje Bless <link@hutz.w3.org>
- Date: Sun, 16 May 2004 03:13:30 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv26745
Modified Files:
Tag: validator-0_6_0-branch
check
Log Message:
Nuke double output for Valid pages with Warnings.
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.305.2.121
retrieving revision 1.305.2.122
diff -u -d -r1.305.2.121 -r1.305.2.122
--- check 16 May 2004 02:57:10 -0000 1.305.2.121
+++ check 16 May 2004 03:13:28 -0000 1.305.2.122
@@ -866,7 +866,7 @@
if ($File->{Opt}->{Verbose} or not $File->{'Is Valid'}) {
print qq(<div class="splash">\n);
&print_table($File);
- &print_warnings($File);
+ &print_warnings($File) unless $File->{'Is Valid'};
print qq(</div>\n);
} else {
if ($File->{'Is Valid'} and not $File->{'Is Upload'}) {
Received on Saturday, 15 May 2004 23:15:06 UTC