mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-29 22:04:25 +02:00
fix: keep empty attribute values #34
This commit is contained in:
parent
096f024348
commit
00738ab580
@ -160,7 +160,10 @@ public class XMLFileEncoder {
|
||||
}
|
||||
|
||||
if(EncodeUtil.isEmpty(valueText)) {
|
||||
xmlAttribute.setValueAsString("");
|
||||
if(valueText == null){
|
||||
valueText = "";
|
||||
}
|
||||
xmlAttribute.setValueAsString(valueText);
|
||||
}else{
|
||||
ValueDecoder.EncodeResult encodeResult =
|
||||
ValueDecoder.encodeGuessAny(valueText);
|
||||
|
Loading…
x
Reference in New Issue
Block a user