validator/misc docs_errors.pl,1.4,1.5

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 UTC