diff options
author | Eric Wong <e@yhbt.net> | 2020-02-19 08:17:09 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-02-19 08:17:09 +0000 |
commit | 63a57fee9e75c6fad2b146a125ac8f029773a36b (patch) | |
tree | 1c81a2b7fbd1685e2bf07abc240255ebd9c3ddf2 | |
parent | f98c236b8b70cf8d18c0d52c51bb798bb7f29bac (diff) | |
download | cmogstored-63a57fee9e75c6fad2b146a125ac8f029773a36b.tar.gz |
-rwxr-xr-x | build-aux/txt2pre | 2 |
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 > for escape so our s!! to add href works. # there's probably a way to do this with only a single s!! ... $str =~ s!>!\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!>!g; # swap escapes back to > |