summaryrefslogtreecommitdiff
path: root/nocompile/bin/encode_html_entities
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-05-28 07:16:46 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-05-28 07:16:46 -0500
commit05f18ac5c65755e1dde4d4bd44575011310bc648 (patch)
treefc8120feb1a68a205127ea3219ae0e9b32e5e629 /nocompile/bin/encode_html_entities
parentbab39151c44f47c296a53f32f378b948d6d11cef (diff)
downloadmisc-05f18ac5c65755e1dde4d4bd44575011310bc648.tar.gz
misc-05f18ac5c65755e1dde4d4bd44575011310bc648.zip
added quot to the html entities programs
cat fontfile.808 | fontdump > editme.font ; cat editme.font | fontbuild.sh > filefile2.808 the fontstuff is for text-mode fonts for NetBSD. at least. can probably be used for any binary files if you want. only support for 8x8 fonts in build atm. mime-type got a fix for css
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/&/\&amp;/g" \
| sed "s/</\&lt;/g" \
- | sed "s/>/\&gt;/g"
+ | sed "s/>/\&gt;/g" \
+ | sed 's/"/\&quot;/g'