From 8a5e1ba89b8df5394c9e46d7149a681cd8f59f88 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 10 Apr 2023 18:43:07 -0300 Subject: bin/htmlesc: Use "'" over "'" HTML 5 understands it: https://html.spec.whatwg.org/multipage/named-characters.html --- bin/htmlesc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/htmlesc') diff --git a/bin/htmlesc b/bin/htmlesc index c18610d..0e4c75a 100755 --- a/bin/htmlesc +++ b/bin/htmlesc @@ -90,7 +90,7 @@ decode() { -e 's|<|<|g' \ -e 's|>|>|g' \ -e 's|"|"|g' \ - -e "s|'|'|g" + -e "s|'|'|g" } encode() { @@ -99,7 +99,7 @@ encode() { -e 's|<|\<|g' \ -e 's|>|\>|g' \ -e 's|"|\"|g' \ - -e "s|'|\'|g" + -e "s|'|\'|g" } if [ "$DECODE" = true ]; then -- cgit v1.2.3