jcesarmobile commented on pull request #1384: URL: https://github.com/apache/cordova-android/pull/1384#issuecomment-1005778841
`encodeURIComponent` won't work because it scapes `<Incredible&App>` to `%3CIncredible%26App%3E`, which is not valid on the `strings.xml`. I solved a similar problem in Capacitor using replace like this https://github.com/ionic-team/capacitor/pull/5325/files#diff-ed3a1ffe6172324599c40aaeea6832beab33815ec5c28ba7f87e1a37fb55fae1R74-R78 note that it doesn't include `>` replacement because it wasn't needed in Capacitor, but might still be needed in Cordova as it looks like it does some previous conversion also note that it includes `"`, which is not escaped by lodash -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
