mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-30 22:34:24 +02:00
fix attribute/reference encoding
This commit is contained in:
parent
fe3fd1b6c0
commit
1b9ed9c291
@ -106,7 +106,11 @@ public class XMLFileEncoder {
|
||||
String valueText=attribute.getValue();
|
||||
|
||||
if(ValueDecoder.isReference(valueText)){
|
||||
if(valueText.startsWith("?")){
|
||||
xmlAttribute.setValueType(ValueType.ATTRIBUTE);
|
||||
}else {
|
||||
xmlAttribute.setValueType(ValueType.REFERENCE);
|
||||
}
|
||||
xmlAttribute.setRawValue(materials.resolveReference(valueText));
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user