about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-02-19 08:17:09 +0000
committerEric Wong <e@yhbt.net>2020-02-19 08:17:09 +0000
commit63a57fee9e75c6fad2b146a125ac8f029773a36b (patch)
tree1c81a2b7fbd1685e2bf07abc240255ebd9c3ddf2
parentf98c236b8b70cf8d18c0d52c51bb798bb7f29bac (diff)
downloadcmogstored-63a57fee9e75c6fad2b146a125ac8f029773a36b.tar.gz
-rwxr-xr-xbuild-aux/txt2pre2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/txt2pre b/build-aux/txt2pre
index 2bada68..0e1b2a2 100755
--- a/build-aux/txt2pre
+++ b/build-aux/txt2pre
@@ -37,7 +37,7 @@ unless (defined $title) {
 # temporarily swap &gt; for escape so our s!! to add href works.
 # there's probably a way to do this with only a single s!! ...
 $str =~ s!&gt;!\e!g;
-$str =~ s!\b((nntp|ftp|https?)://[\w+\+\&\?\.\%\;/#=-]+)!<a
+$str =~ s!\b((nntp|ftp|https?)://[\w+\+\&\?\.\%\;/#=\!\@-]+)!<a
 href="$1"\n>$1</a>!g;
 
 $str =~ s!\e!&gt;!g; # swap escapes back to &gt;