W3C home > Mailing lists > Public > www-validator-cvs@w3.org > April 2007

validator/misc docs_errors.pl,1.4,1.5

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 02 Apr 2007 10:18:40 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1HYJcW-0003oW-1Q@lionel-hutz.w3.org>

Update of /sources/public/validator/misc
In directory hutz:/tmp/cvs-serv14644/misc

Modified Files:
	docs_errors.pl 
Log Message:
Fix relative paths to help.html in output

Index: docs_errors.pl
===================================================================
RCS file: /sources/public/validator/misc/docs_errors.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- docs_errors.pl	15 Nov 2006 08:02:46 -0000	1.4
+++ docs_errors.pl	2 Apr 2007 10:18:37 -0000	1.5
@@ -110,6 +110,9 @@
 		$single_error{id} = $error_id;
 		$single_error{verbose} = $RSRC->{msg}->{$error_id}->{verbose};
 		push @{$errors}, \%single_error;
+                # Fix up relative paths (/check vs /docs/errors.html)
+                s/href="docs\//href="/
+                    for $single_error{original}, $single_error{verbose};
 	    }
 
 	}
Received on Monday, 2 April 2007 10:18:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:56 GMT