- From: Mercurial notifier <nobody@w3.org>
- Date: Tue, 14 Dec 2010 22:29:09 +0000
- To: markup-validator updates <www-validator-cvs@w3.org>
changeset: 3197:484148259191 tag: tip user: Ville Skyttä <ville.skytta@iki.fi> date: Wed Dec 15 00:28:56 2010 +0200 files: httpd/cgi-bin/check description: make perltidy diff -r ee6e125eaa17 -r 484148259191 httpd/cgi-bin/check --- a/httpd/cgi-bin/check Wed Dec 15 00:28:29 2010 +0200 +++ b/httpd/cgi-bin/check Wed Dec 15 00:28:56 2010 +0200 @@ -558,7 +558,8 @@ # # Add a warning if doc is UTF-8 and contains a BOM. -if ($File->{Charset}->{Use} eq 'utf-8' && @{$File->{Content}} && +if ($File->{Charset}->{Use} eq 'utf-8' && + @{$File->{Content}} && $File->{Content}->[0] =~ m(^\x{FEFF})) { &add_warning('W21', {});
Received on Tuesday, 14 December 2010 22:29:10 UTC