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