diff --git a/src/main/java/com/reandroid/xml/Span.java b/src/main/java/com/reandroid/xml/Span.java index 1739dde0d..0bc067f8e 100644 --- a/src/main/java/com/reandroid/xml/Span.java +++ b/src/main/java/com/reandroid/xml/Span.java @@ -42,7 +42,7 @@ default List parseAttributes(String attributes){ boolean quoted = false; for (int i = 0; i < length; i++){ char ch = attributes.charAt(i); - if(ch == '='){ + if(ch == '=' && attribute == null){ if(builder != null){ attribute = new StyleAttribute(builder.toString(), ""); results.add(attribute);