-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Parsing html
tag without body
tag failed
#818
Comments
@harryzcy This is expected behavior since if you're trying to render an
See reproduced demo. This leads me to the question: are you unable to strip out the |
That's not the point I'm making. The warning that I'm using the For reference, So I still think it's a bug within the library. |
My demo is the working example that has |
Expected Behavior
parse('<html><p>Hello, World!</p></html>')
should return ahtml
tag, with ap
child tagActual Behavior
It returns empty react element.
console.log
gives the following:Steps to Reproduce
Call
parse('<html><p>Hello, World!</p></html>')
Reproducible Demo
Environment
Keywords
The text was updated successfully, but these errors were encountered: