diff options
Diffstat (limited to 'nocompile/bin/encode_html_entities')
-rwxr-xr-x | nocompile/bin/encode_html_entities | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nocompile/bin/encode_html_entities b/nocompile/bin/encode_html_entities new file mode 100755 index 0000000..4cb1836 --- /dev/null +++ b/nocompile/bin/encode_html_entities @@ -0,0 +1,4 @@ +#!/bin/sh +sed "s/&/\&/g" \ + | sed "s/</\</g" \ + | sed "s/>/\>/g" |