mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35:52 +01:00
AndrolibResources.escapeForResXml(): escaping quotes.
This commit is contained in:
parent
432146c8bb
commit
602fd95f8a
@ -303,6 +303,7 @@ final public class AndrolibResources {
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
value = value.replace("'", "\\'");
|
value = value.replace("'", "\\'");
|
||||||
|
value = value.replace("\"", "\\\"");
|
||||||
value = value.replace("\n", "\\n\n");
|
value = value.replace("\n", "\\n\n");
|
||||||
char c = value.charAt(0);
|
char c = value.charAt(0);
|
||||||
if (c == '@' || c == '#' || c == '?') {
|
if (c == '@' || c == '#' || c == '?') {
|
||||||
|
Loading…
Reference in New Issue
Block a user