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

validator/misc docs_errors.pl,1.3.2.1,1.3.2.2

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 02 Apr 2007 10:25:51 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1HYJjT-0004it-Ts@lionel-hutz.w3.org>

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

Modified Files:
      Tag: validator-0_7-branch
	docs_errors.pl 
Log Message:
Link fixes from HEAD

Index: docs_errors.pl
===================================================================
RCS file: /sources/public/validator/misc/docs_errors.pl,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -d -r1.3.2.1 -r1.3.2.2
--- docs_errors.pl	14 Nov 2006 06:27:33 -0000	1.3.2.1
+++ docs_errors.pl	2 Apr 2007 10:25:49 -0000	1.3.2.2
@@ -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:26:02 GMT

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