neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 13c2d3df0440ce04273de3149631a9bd97490c6e
parent de83de276bef7509ab8255682595ad4521f3a193
Author: Lazaros Koromilas <lostd@2f30.org>
Date:   Wed, 15 Jul 2015 15:53:12 +0300

filters: apply HTML escaping

http://www.w3.org/International/questions/qa-escapes#use

Diffstat:
Mfilters/html-converters/txt2html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/filters/html-converters/txt2html b/filters/html-converters/txt2html @@ -1,4 +1,4 @@ #!/bin/sh echo "<pre>" -cat +sed "s|&|\\&amp;|g;s|'|\\&apos;|g;s|\"|\\&quot;|g;s|<|\\&lt;|g;s|>|\\&gt;|g" echo "</pre>"