- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 04 Apr 2007 04:04:38 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv11757/httpd/cgi-bin
Modified Files:
check
Log Message:
silent recovery if HTML::Tidy not present or needed
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.493
retrieving revision 1.494
diff -u -d -r1.493 -r1.494
--- check 2 Apr 2007 06:46:32 -0000 1.493
+++ check 4 Apr 2007 04:04:36 -0000 1.494
@@ -841,7 +841,15 @@
$File->{'Tidy_OK'} = FALSE;
}
}
+else {
+ # if document is valid, we don't really need tidy, do we?
+ $File->{'Tidy_OK'} = FALSE;
+}
+if ($File->{'Tidy_OK'} eq FALSE) {
+ # if tidy not available, disable
+ $File->{Opt}->{'Show Tidy'} = FALSE;
+}
my $template;
Received on Wednesday, 4 April 2007 04:04:43 UTC