diff options
author | ville <ville@localhost> | 2009-06-29 14:35:22 +0000 |
---|---|---|
committer | ville <ville@localhost> | 2009-06-29 14:35:22 +0000 |
commit | 29d079db695298c3e7af005fa28e28871c29baa3 (patch) | |
tree | 9b74a2c25104d9a0190627a99c84de83aa140549 /misc | |
parent | 9fdaf294bff7cc096e38e6f7fffb728474c53626 (diff) | |
download | markup-validator-29d079db695298c3e7af005fa28e28871c29baa3.zip markup-validator-29d079db695298c3e7af005fa28e28871c29baa3.tar.gz markup-validator-29d079db695298c3e7af005fa28e28871c29baa3.tar.bz2 |
Whitespace, NFC.
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/docs_errors.pl | 6 |
1 files changed, 3 insertions, 3 deletions
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/; |