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 } diff --git a/www/txt2html.pl b/www/txt2html.pl index 43c7fffa27..6e39e8dcaf 100755 --- a/www/txt2html.pl +++ b/www/txt2html.pl @@ -9,7 +9,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 }