summaryrefslogtreecommitdiff
path: root/nocompile/bin/encode_html_entities
diff options
context:
space:
mode:
Diffstat (limited to 'nocompile/bin/encode_html_entities')
-rwxr-xr-xnocompile/bin/encode_html_entities3
1 files changed, 2 insertions, 1 deletions
diff --git a/nocompile/bin/encode_html_entities b/nocompile/bin/encode_html_entities
index 4cb1836..e2bcf30 100755
--- a/nocompile/bin/encode_html_entities
+++ b/nocompile/bin/encode_html_entities
@@ -1,4 +1,5 @@
#!/bin/sh
sed "s/&/\&/g" \
| sed "s/</\&lt;/g" \
- | sed "s/>/\&gt;/g"
+ | sed "s/>/\&gt;/g" \
+ | sed 's/"/\&quot;/g'