mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-20 16:57:34 +01:00
AndrolibResources.escapeForResXml(): fixed bug triggered when empty string given.
This commit is contained in:
parent
d35120da35
commit
8094115fbc
@ -279,6 +279,9 @@ final public class AndrolibResources {
|
||||
}
|
||||
|
||||
public static String escapeForResXml(String value) {
|
||||
if (value.isEmpty()) {
|
||||
return value;
|
||||
}
|
||||
value = value.replace("'", "\\'");
|
||||
value = value.replace("\n", "\\n\n");
|
||||
char c = value.charAt(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user