mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-20 16:57:34 +01:00
AndrolibResources.escapeForResXml(): don't insert new-line char to XML output.
This commit is contained in:
parent
4bd9ea4b60
commit
b636373e1d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user