filters: apply HTML escaping
http://www.w3.org/International/questions/qa-escapes#use
This commit is contained in:
parent
de83de276b
commit
13c2d3df04
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "<pre>"
|
echo "<pre>"
|
||||||
cat
|
sed "s|&|\\&|g;s|'|\\'|g;s|\"|\\"|g;s|<|\\<|g;s|>|\\>|g"
|
||||||
echo "</pre>"
|
echo "</pre>"
|
||||||
|
Loading…
Reference in New Issue
Block a user