kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

summary tag should not be able to contain flow content

Open languitar opened this issue 2 years ago • 0 comments
trafficstars

The HTML summary tag must only contain

Phrasing content or one element of Heading content

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary#technical_summary

The HTML DSL right now allows nesting arbitrary flow content and one can therefore end up with invalid HTML.

languitar avatar May 11 '23 13:05 languitar