Skip to content

Commit

Permalink
Fixing prettier
Browse files Browse the repository at this point in the history
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
  • Loading branch information
rdwebdesign committed Jan 29, 2022
1 parent ab65f5c commit b2ac5cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/pi-hole/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,10 @@ $(function () {
if (data === "*") {
str = "<i>unknown</i>";
} else {
str = typeof data === "string"
? data.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;")
: data;
str =
typeof data === "string"
? data.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;")
: data;
}
return str;
},
Expand Down

0 comments on commit b2ac5cb

Please sign in to comment.