diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-11-06 22:39:32 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-11-06 22:39:32 +0100 |
commit | e4ca81d4b0c9092917c0f3e2ec8c23705bf95eed (patch) | |
tree | 902771c4eaf3ff39e28928517cc7a888c1bc55e0 | |
parent | 9d1b97ae5e41ae665b7eac899cd0ae4bf8439205 (diff) | |
download | ndim-git-utils-e4ca81d4b0c9092917c0f3e2ec8c23705bf95eed.tar.gz ndim-git-utils-e4ca81d4b0c9092917c0f3e2ec8c23705bf95eed.tar.xz ndim-git-utils-e4ca81d4b0c9092917c0f3e2ec8c23705bf95eed.zip |
e-mail addr obfuscation with html char entities
-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; |