diff options
-rwxr-xr-x | httpd/cgi-bin/check | 10 | ||||
-rwxr-xr-x | misc/docs_errors.pl | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 37ebd16..8f0d2a6 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -14,7 +14,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.662 2009-06-29 14:33:38 ville Exp $ +# $Id: check,v 1.663 2009-06-29 14:35:22 ville Exp $ # # Disable buffering on STDOUT! $| = 1; @@ -199,7 +199,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.662 $; + $VERSION = q$Revision: 1.663 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -833,8 +833,8 @@ if (($File->{DOCTYPE} eq "HTML5") or ($File->{DOCTYPE} eq "XHTML5")) { } else { $File->{'Error Flagged'} = TRUE; - $File->{Templates}->{Error}->param(fatal_no_checker => TRUE); - $File->{Templates}->{Error}->param(fatal_missing_checker => "HTML5 Validator"); + $File->{Templates}->{Error}->param(fatal_no_checker => TRUE); + $File->{Templates}->{Error}->param(fatal_missing_checker => "HTML5 Validator"); } } elsif(($File->{DOCTYPE} eq '') and (($File->{Root} eq "svg") or @{$File->{Namespaces}} >1)){ @@ -1283,7 +1283,7 @@ if ($File->{Opt}->{Output} eq 'xml') { } elsif ($File->{Opt}->{Output} eq 'n3') { $template = $File->{Templates}->{EARLN3}; } elsif ($File->{Opt}->{Output} eq 'json') { - $template = $File->{Templates}->{JSON}; + $template = $File->{Templates}->{JSON}; } elsif ($File->{Opt}->{Output} eq 'ucn') { $template = $File->{Templates}->{UCN}; } elsif ($File->{Opt}->{Output} eq 'soap12') { diff --git a/misc/docs_errors.pl b/misc/docs_errors.pl index 793cc1d..a7ecd23 100755 --- a/misc/docs_errors.pl +++ b/misc/docs_errors.pl @@ -2,7 +2,7 @@ ## ## Generates HTML documentation of error messages and explanations ## for W3C Markup Validation Service -## $Id: docs_errors.pl,v 1.9 2009-06-29 14:33:39 ville Exp $ +## $Id: docs_errors.pl,v 1.10 2009-06-29 14:35:22 ville Exp $ ## Pragmas. use strict; @@ -99,7 +99,7 @@ sub list_errors_hasverbose{ $single_error{id} = $error_id; $single_error{verbose} = $rsrc->{msg}->{$error_id}->{verbose}; $single_error{verbose} =~ s/<!--CFG_HOME_PAGE-->/$CFG->{'Home Page'}/g; - + push @{$errors}, \%single_error; # Fix up relative paths (/check vs /docs/errors.html) s/href="docs\//href="/ @@ -140,7 +140,7 @@ sub list_errors_noverbose{ sub de_template_explanation { # takes the error message template, and replace "template keywords" with real life keywords my $explanation = shift; - if ($explanation){ + if ($explanation) { $explanation =~ s/\%1/X/; $explanation =~ s/\%2/Y/; $explanation =~ s/\%3/Z/; |