mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +01:00
Fastst way to fix empty key value splitting for styled strings. Signed-off-by: Sven Marquardt <dev@mail.smarquardt.space> Signed-off-by: Sven Marquardt <dev@mail.smarquardt.space>
This commit is contained in:
parent
87223d334e
commit
9db742618b
@ -50,7 +50,7 @@ public class StyledString {
|
||||
|
||||
public static class Span implements Comparable<Span> {
|
||||
private static final MapSplitter ATTRIBUTES_SPLITTER =
|
||||
Splitter.on(';').withKeyValueSeparator(Splitter.on('=').limit(2));
|
||||
Splitter.on(';').omitEmptyStrings().withKeyValueSeparator(Splitter.on('=').limit(2));
|
||||
|
||||
private final String tag;
|
||||
private final int firstChar;
|
||||
|
Loading…
Reference in New Issue
Block a user