summaryrefslogtreecommitdiff
path: root/filters/html-converters
diff options
context:
space:
mode:
Diffstat (limited to 'filters/html-converters')
-rwxr-xr-xfilters/html-converters/txt2html2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/html-converters/txt2html b/filters/html-converters/txt2html
index a795995..495eece 100755
--- a/filters/html-converters/txt2html
+++ b/filters/html-converters/txt2html
@@ -1,4 +1,4 @@
#!/bin/sh
echo "<pre>"
-cat
+sed "s|&|\\&amp;|g;s|'|\\&apos;|g;s|\"|\\&quot;|g;s|<|\\&lt;|g;s|>|\\&gt;|g"
echo "</pre>"