You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the HTML spec (https://html.spec.whatwg.org/#the-dt-element), the dt element is "Categories: None" and "Content model: Flow content, but with no header, footer, sectioning content, or heading content descendants."
However, in kotlinx.html, dt is HtmlInlineTag, which is PhrasingContent, meaning it only supports children that can exist in PhrasingContent contexts.
This can currently be worked around with unsafe, but that should not be necessary.
(Conceptually, Phrasing content is a subset of Flow content, and there are things (like dt) that don't match any of the content types--I think there is an issue with the overall hierarchy, but that is beyond the scope of this bug.)
The text was updated successfully, but these errors were encountered:
According to the HTML spec (https://html.spec.whatwg.org/#the-dt-element), the
dt
element is "Categories: None" and "Content model: Flow content, but with no header, footer, sectioning content, or heading content descendants."However, in
kotlinx.html
,dt
isHtmlInlineTag
, which isPhrasingContent
, meaning it only supports children that can exist inPhrasingContent
contexts.This can currently be worked around with
unsafe
, but that should not be necessary.(Conceptually, Phrasing content is a subset of Flow content, and there are things (like
dt
) that don't match any of the content types--I think there is an issue with the overall hierarchy, but that is beyond the scope of this bug.)The text was updated successfully, but these errors were encountered: