Merge pull request #248 from TouchInstinct/fix-string-gen

fix quotes
This commit is contained in:
rybakovi 2021-03-04 20:10:13 +03:00 committed by GitHub
commit 7a5a75c7c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ private def generate(Map<String, String> sources) {
xml.resources() {
json.each {
k, v ->
string(name: "${k}", formatted: "false", "${v}".replace('\n', '\\n'))
string(name: "${k}", formatted: "false", "${v}".replace('\n', '\\n').replace('\"', '\\"'))
}
}