-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected formatting for components inside <tbody>
#70
Comments
This seems to be related to using parse5 for the formatter (see: AST Explorer). Since it wants to be HTML spec compliant. There are weird limitations in the spec related to table/tbody tags. For example, you cannot have anything other than If you changed your examples to
We pass the markup into I'm not sure what to do here.
|
Related: inikulin/parse5#1354 |
Using the playground (with default settings):
It is weird that
<component-that-gets-rendered-as-tr>
is not kept at its position inside<tbody>
, and it's even weirder that it gets moved below<tbody>
but above<table>
.Since this component is rendered as
<tr>
at runtime (but might be stubbed in the test), is there any possibility to keep its position inside<tbody>
?The text was updated successfully, but these errors were encountered: