mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 14:44:26 +02:00
AndrolibResources.escapeForResXml(): fixed a bug when there are many spaces at the end.
This commit is contained in:
parent
add6fbc24d
commit
d459a4bb8b
@ -365,7 +365,7 @@ final public class AndrolibResources {
|
|||||||
out.append(c);
|
out.append(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (space) {
|
if (space && out.charAt(out.length() - 1) == ' ') {
|
||||||
out.deleteCharAt(out.length() - 1);
|
out.deleteCharAt(out.length() - 1);
|
||||||
out.append("\\u0020");
|
out.append("\\u0020");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user