From 2bdfa548929558e432eaef50cbfa79a91f9edd8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 7 Sep 2020 03:51:34 +0200 Subject: [PATCH] Squashed 'cgilite/' changes from 238f0f8..00ba4b0 00ba4b0 avoid confusion regarding carriage return when escaping HTML (especially in textarea) git-subtree-dir: cgilite git-subtree-split: 00ba4b0222ec867cc1b629857defb6db4b403530 --- cgilite.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cgilite.sh b/cgilite.sh index 2e53832..32aa28b 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -202,6 +202,7 @@ HTML(){ \'*) out="${out}'";; \[*) out="${out}[";; \]*) out="${out}]";; + "${CR}"*) out="${out} ";; "${BR}"*) out="${out} ";; *) out="${out}${str%"${str#?}"}";; esac -- 2.39.2