Author: Lazaros Koromilas <lostd@2f30.org>
filters: apply HTML escaping http://www.w3.org/International/questions/qa-escapes#use
filters/html-converters/txt2html | 2 +-
diff --git a/filters/html-converters/txt2html b/filters/html-converters/txt2html index a79599582a6cba461a58be9b85ef5f5293a1369e..495eeceb279e84f6b1e1a877b3adf416082ce41a 100755 --- a/filters/html-converters/txt2html +++ b/filters/html-converters/txt2html @@ -1,4 +1,4 @@ #!/bin/sh echo "<pre>" -cat +sed "s|&|\\&|g;s|'|\\'|g;s|\"|\\"|g;s|<|\\<|g;s|>|\\>|g" echo "</pre>"