mirror of
https://git.zx2c4.com/cgit
synced 2025-09-01 07:19:56 +02:00
filters: apply HTML escaping
http://www.w3.org/International/questions/qa-escapes#use
This commit is contained in:
parent
de83de276b
commit
13c2d3df04
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue