Bump version to 1.2.8, add TestStyleUpdate for verifying style attribute updates and removals, and simplify style attribute handling in HtmlBuilder.
Some checks failed
Gradle CI / build (push) Has been cancelled
Some checks failed
Gradle CI / build (push) Has been cancelled
This commit is contained in:
@@ -233,10 +233,7 @@ class HtmlBuilder(
|
||||
if (attribute?.name != null) {
|
||||
val attr = attribute.name
|
||||
|
||||
if (
|
||||
!setAttrs.contains(attr) &&
|
||||
attr != "style"
|
||||
) {
|
||||
if (!setAttrs.contains(attr)) {
|
||||
element.setKompAttribute(attr, null)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user