summaryrefslogtreecommitdiffstats
path: root/httpd/cgi-bin/check
diff options
context:
space:
mode:
authorVille Skytt? <ville.skytta@iki.fi>2010-12-15 00:28:56 +0200
committerVille Skytt? <ville.skytta@iki.fi>2010-12-15 00:28:56 +0200
commit5595f5ee58bbe68e2ccfc6c287accb58193cfd51 (patch)
tree442c3fcf1d71c34d7a8b1f00a9a47d8481a6ca8d /httpd/cgi-bin/check
parentcae98f12811d4504fbdc49c3f4b612afb642a8eb (diff)
downloadmarkup-validator-5595f5ee58bbe68e2ccfc6c287accb58193cfd51.zip
markup-validator-5595f5ee58bbe68e2ccfc6c287accb58193cfd51.tar.gz
markup-validator-5595f5ee58bbe68e2ccfc6c287accb58193cfd51.tar.bz2
make perltidy
Diffstat (limited to 'httpd/cgi-bin/check')
-rwxr-xr-xhttpd/cgi-bin/check3
1 files changed, 2 insertions, 1 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index f19f6c6..cbd9370 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -558,7 +558,8 @@ if ($File->{ContentType} eq 'text/html' && $File->{Charset}->{Default}) {
#
# 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', {});