From 8c8a606601c7df0c4cc21fab613cdf9e353e08b7 Mon Sep 17 00:00:00 2001 From: Robert Hak Date: Wed, 19 Mar 2003 20:22:39 +0000 Subject: account for the # in anchor tags git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3483 a1c6a512-1295-4272-9138-f99709370657 --- www/faq2html.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/faq2html.pl') diff --git a/www/faq2html.pl b/www/faq2html.pl index eabe674828..15a2390986 100755 --- a/www/faq2html.pl +++ b/www/faq2html.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/local/bin/perl # this is really a faq2html and should only be used for this purpose @@ -6,7 +6,7 @@ sub fixline { $_ =~ s/\/>/g; - $_ =~ s/(http:\/\/([a-zA-Z0-9_.\/-]*)[^\) .\n])/\$1\<\/a\>/g; + $_ =~ s/(http:\/\/([a-zA-Z0-9_.\#\/-]*)[^\) .\n])/\$1\<\/a\>/g; $_ =~ s/(\\|\/)$/$1 /g; # clobber backslash on end of line } -- cgit v1.2.3