Skip to content

Commit

Permalink
escape percentage sign
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed Jul 18, 2022
1 parent 51c8ca3 commit c3cf9c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-android.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const escapeXmlString = str => {
'\\&nbsp\\;': ' ', // replace " " with space
'\\&raquo\\;': '»', // replace "»" with »
"\\'": "\\\'", // escape quotes
"\\%(?!s|\\d*d|[\\.\\d]*f)": "%%", // escape percentage sign
'\\?': '\\\?', // escape question marks
'<[^>]*>?': '', // strip html elements
};
Expand Down

0 comments on commit c3cf9c3

Please sign in to comment.