diff options
author | June McEnroe <june@causal.agency> | 2020-12-27 18:45:04 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-27 18:45:04 -0500 |
commit | 85016e706cd00e527dba3fa83b2783dfb56a4ffa (patch) | |
tree | fc28a97fede3b74ae2cb2e778ffd4c0ae59c637b /filters/html-converters/txt2html | |
download | src-85016e706cd00e527dba3fa83b2783dfb56a4ffa.tar.gz src-85016e706cd00e527dba3fa83b2783dfb56a4ffa.zip |
Squashed 'www/git.causal.agency/cgit/' content from commit 02221fd3
git-subtree-dir: www/git.causal.agency/cgit git-subtree-split: 02221fd3fe523a3293d64e3359036e3a71d6fd7e
Diffstat (limited to 'filters/html-converters/txt2html')
-rwxr-xr-x | filters/html-converters/txt2html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filters/html-converters/txt2html b/filters/html-converters/txt2html new file mode 100755 index 00000000..495eeceb --- /dev/null +++ b/filters/html-converters/txt2html @@ -0,0 +1,4 @@ +#!/bin/sh +echo "<pre>" +sed "s|&|\\&|g;s|'|\\'|g;s|\"|\\"|g;s|<|\\<|g;s|>|\\>|g" +echo "</pre>" |