From c3cf9c3a8639c92258ed02758cd0de71f6da4064 Mon Sep 17 00:00:00 2001 From: TheBeastLT Date: Mon, 18 Jul 2022 17:24:00 +0200 Subject: [PATCH] escape percentage sign --- scripts/build-android.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build-android.js b/scripts/build-android.js index bf2e7392..acea51e4 100755 --- a/scripts/build-android.js +++ b/scripts/build-android.js @@ -18,6 +18,7 @@ const escapeXmlString = str => { '\\ \\;': ' ', // replace " " with space '\\»\\;': '»', // replace "»" with » "\\'": "\\\'", // escape quotes + "\\%(?!s|\\d*d|[\\.\\d]*f)": "%%", // escape percentage sign '\\?': '\\\?', // escape question marks '<[^>]*>?': '', // strip html elements };