filters: apply HTML escaping

http://www.w3.org/International/questions/qa-escapes#use
Esse commit está contido em:
Lazaros Koromilas 2015-07-15 15:53:12 +03:00 commit de Jason A. Donenfeld
commit 13c2d3df04

Ver arquivo

@ -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>"