mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-11 11:14:26 +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);
|
boolean isLast=(info.getLast()==i);
|
||||||
if(info.getFirst()==i || isLast){
|
if(info.getFirst()==i || isLast){
|
||||||
|
if(isLast){
|
||||||
|
builder.append(info.getEndTag());
|
||||||
|
}
|
||||||
if(isLast && !lastAppend){
|
if(isLast && !lastAppend){
|
||||||
builder.append(ch);
|
builder.append(ch);
|
||||||
lastAppend=true;
|
lastAppend=true;
|
||||||
}
|
}
|
||||||
if(isLast){
|
if(!isLast) {
|
||||||
builder.append(info.getEndTag());
|
|
||||||
}else {
|
|
||||||
builder.append(info.getStartTag(xml));
|
builder.append(info.getStartTag(xml));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user