- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 31 Mar 2005 21:33:07 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv30860/httpd/cgi-bin
Modified Files:
check
Log Message:
This should fix bug 941, for the charset part.
As written in
http://www.w3.org/Bugs/Public/show_bug.cgi?id=941#c3
I am not entirely satisfied by the solution, but it is a working solution,
and will do for the time being (?)...
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.412
retrieving revision 1.413
diff -u -d -r1.412 -r1.413
--- check 31 Mar 2005 07:43:42 -0000 1.412
+++ check 31 Mar 2005 21:33:04 -0000 1.413
@@ -935,9 +935,13 @@
$T->param(file_namespaces => \@nss) if @nss;
if ($File->{Opt}->{DOCTYPE}) {
- my $over_doctype_param = "override $File->{Opt}->{DOCTYPE}";
- $T->param($over_doctype_param => TRUE);
-
+ my $over_doctype_param = "override doctype $File->{Opt}->{DOCTYPE}";
+ $T->param($over_doctype_param => TRUE);
+ }
+
+ if ($File->{Opt}->{Charset}) {
+ my $over_charset_param = "override charset $File->{Opt}->{Charset}";
+ $T->param($over_charset_param => TRUE);
}
}
Received on Thursday, 31 March 2005 21:33:07 UTC