Kotlin / kotlinx.html

Kotlin DSL for HTML
Apache License 2.0
1.6k stars 130 forks source link

TR shouldn't use TBODY as a receiver #283

Open reubenfirmin opened 2 months ago

reubenfirmin commented 2 months ago

I get that you are trying to force valid html, but that defeats the ability to create html fragments.

Consider the use case:

Because of the way TR is defined, I cannot dynamically generate a list of TRs, which htmx will take care of appending. (Instead I have to create my own custom element for this, as a workaround, which is sub-par.)