diff options
Diffstat (limited to 'index.sh')
-rwxr-xr-x | index.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -35,6 +35,12 @@ scape-regex () { sed 's/|/\\|/g' } +sanitize-html-entities () { + echo "$1" | + sed 's/</\</g' | + sed 's/>/\>/g' +} + html () { cat <<HTML <!DOCTYPE html> |