fix format

pull/5285/head
neil 2024-09-15 14:31:15 +02:00
parent 2d282597ca
commit f86ee84457
1 changed files with 4 additions and 4 deletions

View File

@ -165,10 +165,10 @@ _inwx_check_cookie() {
_htmlEscape() { _htmlEscape() {
_s="$1" _s="$1"
_s=$(echo "$_s" | sed "s/&/&/g") _s=$(echo "$_s" | sed "s/&/&/g")
_s=$(echo "$_s" | sed "s/</\&lt;/g") _s=$(echo "$_s" | sed "s/</\&lt;/g")
_s=$(echo "$_s" | sed "s/>/\&gt;/g") _s=$(echo "$_s" | sed "s/>/\&gt;/g")
_s=$(echo "$_s" | sed 's/"/\&quot;/g') _s=$(echo "$_s" | sed 's/"/\&quot;/g')
printf -- %s "$_s" printf -- %s "$_s"
} }