diff options
author | Eric Wong <e@80x24.org> | 2016-12-24 09:16:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-12-24 09:16:42 +0000 |
commit | 554869605ce9d5987d5689a071e68583ad3d5b98 (patch) | |
tree | 7f623632d41221aa4cf5614b87a0626be55d45a7 /build-aux/txt2pre | |
parent | 1333a3de16d7a9192286195da241ef195dbc556a (diff) | |
download | cmogstored-554869605ce9d5987d5689a071e68583ad3d5b98.tar.gz |
We'll just have everything on r******** soon, I hope :p
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 > |