diff options
-rw-r--r-- | build-helpers/txt2html.sed | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-helpers/txt2html.sed b/build-helpers/txt2html.sed index a2849b7..e8017dd 100644 --- a/build-helpers/txt2html.sed +++ b/build-helpers/txt2html.sed @@ -1,3 +1,4 @@ +# Convert certain text files to HTML fragment s/&/\&/g; s/</\</g; s/>/\>/g; @@ -5,6 +6,6 @@ s/>/\>/g; /; $s/$/\ <\/pre>/; -s|\([a-z]\{1,\}\)@\([a-z0-9.-]\{1,\}\)|\1(at)\2|; +s|\([a-z]\{1,\}\)@\([a-z0-9.-]\{1,\}\)|\1\@\2|; s|\([a-zA-Z0-9_-]\{1,\}\)\(([1-9])\)|<a href="\1.txt">\1\2</a>|; s|\(http://[a-zA-Z0-9./_-]\{1,\}\)|<a href="\1">\1</a>|g; |