This repository was archived by the owner on Oct 5, 2023. It is now read-only.
This repository was archived by the owner on Oct 5, 2023. It is now read-only.
Not handling mixed content correctly #21
Open
Description
Given the following example:
<a>foo <b>bar <c>baz</c></b>bad</a>
Issue: The text "bad" is lost when parsed.
The actual output is:
{
declaration: undefined,
root:
{
name: 'a',
attributes: {},
children:
[
{
name: 'b',
attributes: {},
children: [ { name: 'c', attributes: {}, children: [], content: 'baz' } ],
content: 'bar '
}
],
content: 'foo ' }
}
Metadata
Metadata
Assignees
Labels
No labels