Open
Description
Expected Behavior
parse('<html><p>Hello, World!</p></html>')
should return a html
tag, with a p
child tag
Actual Behavior
It returns empty react element. console.log
gives the following:
{
...
props: {children: null}
...
}
Steps to Reproduce
Call parse('<html><p>Hello, World!</p></html>')
Reproducible Demo
Environment
- Version: v3.0.8
- Platform: node v18.12.1, TypeScript 4.9.5
- Browser: Chrome v108
- OS: macOS