diff options
Diffstat (limited to 'build-aux/txt2pre')
-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 276728f..aeba5d0 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 > |