From b636373e1df13ceea26a9d79dadaccba55f9cec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Fri, 2 Apr 2010 13:42:24 +0200 Subject: [PATCH] AndrolibResources.escapeForResXml(): don't insert new-line char to XML output. --- src/brut/androlib/res/AndrolibResources.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/brut/androlib/res/AndrolibResources.java b/src/brut/androlib/res/AndrolibResources.java index c6655b22..187ef3ff 100644 --- a/src/brut/androlib/res/AndrolibResources.java +++ b/src/brut/androlib/res/AndrolibResources.java @@ -307,7 +307,7 @@ final public class AndrolibResources { } value = value.replace("'", "\\'"); value = value.replace("\"", "\\\""); - value = value.replace("\n", "\\n\n"); + value = value.replace("\n", "\\n"); char c = value.charAt(0); if (c == '@' || c == '#' || c == '?') { return '\\' + value;