Escape quoted strings in Xcode project

This commit is contained in:
Johan Pauwels 2020-05-18 13:15:11 +01:00 committed by Thomas Nagy
parent 668392f9fb
commit cc11c1dec1
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class XCodeNode(object):
result = result + "\t\t}"
return result
elif isinstance(value, str):
return "\"%s\"" % value
return '"%s"' % value.replace('"', '\\\\\\"')
elif isinstance(value, list):
result = "(\n"
for i in value: