mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-08 01:34:25 +02:00
fix style tag position error
This commit is contained in:
parent
f09b61a6db
commit
387e0b26b9
@ -287,13 +287,14 @@ public class StyleItem extends IntegerArray implements JSONConvert<JSONObject> {
|
||||
}
|
||||
boolean isLast=(info.getLast()==i);
|
||||
if(info.getFirst()==i || isLast){
|
||||
if(isLast){
|
||||
builder.append(info.getEndTag());
|
||||
}
|
||||
if(isLast && !lastAppend){
|
||||
builder.append(ch);
|
||||
lastAppend=true;
|
||||
}
|
||||
if(isLast){
|
||||
builder.append(info.getEndTag());
|
||||
}else {
|
||||
if(!isLast) {
|
||||
builder.append(info.getStartTag(xml));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user