summaryrefslogtreecommitdiff
path: root/www/txt2html.pl
diff options
context:
space:
mode:
Diffstat (limited to 'www/txt2html.pl')
-rwxr-xr-xwww/txt2html.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/txt2html.pl b/www/txt2html.pl
index 6e39e8dcaf..5a532cdead 100755
--- a/www/txt2html.pl
+++ b/www/txt2html.pl
@@ -9,7 +9,7 @@ sub fixline {
9 $_ =~ s/\</&lt;/g; 9 $_ =~ s/\</&lt;/g;
10 $_ =~ s/\>/&gt;/g; 10 $_ =~ s/\>/&gt;/g;
11 11
12 $_ =~ s/(http:\/\/([a-zA-Z0-9_.\#\/-]*)[^\) .\n])/\<a href=\"$1\"\>$1\<\/a\>/g; 12 $_ =~ s/(http:\/\/([a-zA-Z0-9_.\#\/-\?\&]*)[^\) .\n])/\<a href=\"$1\"\>$1\<\/a\>/g;
13 13
14 $_ =~ s/(\\|\/)$/$1&nbsp;/g; # clobber backslash on end of line 14 $_ =~ s/(\\|\/)$/$1&nbsp;/g; # clobber backslash on end of line
15} 15}