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

This commit is contained in:
2025-06-12 19:22:31 +02:00
parent 66b4633e6b
commit 191b23ed51
3 changed files with 70 additions and 5 deletions

View File

@@ -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)
}
}