Skip to content

Commit

Permalink
Merge pull request #28 from jhonny-me/fix/androidCharacter
Browse files Browse the repository at this point in the history
fix: android character added
  • Loading branch information
jhonny-me authored Oct 25, 2021
2 parents a2cdf9a + bba7faa commit 06b3af6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/android.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ const formatValue = (input) => {
var input = input.replace(/'/g, '\\\'')
input = input.replace(/&/g, '&')
input = input.replace(/"/g, '\\\"')
input = input.replace(/</g, '&lt;')
input = input.replace(/>/g, '&gt;')
return input
}

Expand Down

0 comments on commit 06b3af6

Please sign in to comment.