Skip to content

Conversation

olets
Copy link

@olets olets commented Jan 10, 2025

Documents the fact that parse() adds a wrapper node.

Currently that's only hinted at in the example

const root = parse('<ul id="list"><li>Hello World</li></ul>');
console.log(root.firstChild.structure);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants