diff options
Diffstat (limited to 'filters/html-converters/txt2html')
-rwxr-xr-x | filters/html-converters/txt2html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filters/html-converters/txt2html b/filters/html-converters/txt2html new file mode 100755 index 00000000..495eeceb --- /dev/null +++ b/filters/html-converters/txt2html @@ -0,0 +1,4 @@ +#!/bin/sh +echo "<pre>" +sed "s|&|\\&|g;s|'|\\'|g;s|\"|\\"|g;s|<|\\<|g;s|>|\\>|g" +echo "</pre>" |