Closed danbentley closed 5 months ago
When given the markup:
</body> <ul> <li>Parent Item <ul> <li>Child Item 1</li> <li>Child Item 2</li> </ul> </li> <li>Another Parent Item</li> </ul> </body>
Happy DOM produces:
<body> <ul> <li>Parent Item <ul> </ul></li><li>Child Item 1</li> <li>Child Item 2</li> </ul> <li>Another Parent Item</li> </body>
Because <li> is treated as an unnestable element. I've removed LI from the list of unnestable elements and updated the tests to reflect this change.
<li>
LI
I'm closing this as it was fixed in #1304
When given the markup:
Happy DOM produces:
Because
<li>
is treated as an unnestable element. I've removedLI
from the list of unnestable elements and updated the tests to reflect this change.