From 602fd95f8a086af4a30864afe50713f6b1361b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Fri, 2 Apr 2010 12:44:43 +0200 Subject: [PATCH] AndrolibResources.escapeForResXml(): escaping quotes. --- src/brut/androlib/res/AndrolibResources.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/brut/androlib/res/AndrolibResources.java b/src/brut/androlib/res/AndrolibResources.java index 19eeb5d3..d3b12344 100644 --- a/src/brut/androlib/res/AndrolibResources.java +++ b/src/brut/androlib/res/AndrolibResources.java @@ -303,6 +303,7 @@ final public class AndrolibResources { return value; } value = value.replace("'", "\\'"); + value = value.replace("\"", "\\\""); value = value.replace("\n", "\\n\n"); char c = value.charAt(0); if (c == '@' || c == '#' || c == '?') {