summaryrefslogtreecommitdiffstats
path: root/misc/docs_errors.pl
diff options
context:
space:
mode:
authorot <ot@localhost>2007-10-10 07:05:32 +0000
committerot <ot@localhost>2007-10-10 07:05:32 +0000
commited1955fcdb9845d2dab50573e4115d6dec4843c2 (patch)
tree82fa562a1755a88bd5bd248351872b1096053ec2 /misc/docs_errors.pl
parentf8571724e8661711140f10ad633b4e0dc36d8896 (diff)
downloadmarkup-validator-ed1955fcdb9845d2dab50573e4115d6dec4843c2.zip
markup-validator-ed1955fcdb9845d2dab50573e4115d6dec4843c2.tar.gz
markup-validator-ed1955fcdb9845d2dab50573e4115d6dec4843c2.tar.bz2
update for the templated links in error message explanations
Diffstat (limited to 'misc/docs_errors.pl')
-rwxr-xr-xmisc/docs_errors.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/docs_errors.pl b/misc/docs_errors.pl
index 0e221a1..1e37130 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.5 2007-04-02 10:18:37 ville Exp $
+## $Id: docs_errors.pl,v 1.6 2007-10-10 07:05:32 ot Exp $
## Pragmas.
use strict;
@@ -109,6 +109,8 @@ sub list_errors_hasverbose{
$single_error{original} = $original;
$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="/