summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-helpers/txt2html.sed3
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/&/\&amp/g;
s/</\&lt;/g;
s/>/\&gt;/g;
@@ -5,6 +6,6 @@ s/>/\&gt;/g;
/;
$s/$/\
<\/pre>/;
-s|\([a-z]\{1,\}\)@\([a-z0-9.-]\{1,\}\)|\1(at)\2|;
+s|\([a-z]\{1,\}\)@\([a-z0-9.-]\{1,\}\)|\1\&#x40;\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;