AndrolibResources.escapeForResXml(): don't insert new-line char to XML output.

This commit is contained in:
Ryszard Wiśniewski 2010-04-02 13:42:24 +02:00
parent 4bd9ea4b60
commit b636373e1d

View File

@ -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;