Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Sep 15, 2024
1 parent 2d28259 commit f86ee84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dnsapi/dns_inwx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ _inwx_check_cookie() {

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

Expand Down

0 comments on commit f86ee84

Please sign in to comment.