2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Teach Localization-parser how to espace "

This commit is contained in:
Nathan Mattes 2023-09-20 23:04:52 +02:00
parent 3d1634dcfb
commit fe9ed96615

View File

@ -53,7 +53,7 @@ extension Parser {
].joined()
let value = [
"\"",
pair.value.replacingOccurrences(of: "%s", with: "%@"),
pair.value.replacingOccurrences(of: "%s", with: "%@").replacingOccurrences(of: "\"", with: "\\\""),
"\""
].joined()
let line = [