-
-
Notifications
You must be signed in to change notification settings - Fork 136
Closed
Labels
featureNew feature or requestNew feature or request
Description
Expected Behavior
valid xhtml should be properly parsed. For that to work with htmlparser2
you need to pass
const options = {xmlMode: true}
Actual Behavior
nesting is all wrong
Steps to Reproduce
try to parse a more complicated xhtml snippet that contains scripts, noscript, comments and html5 audio tags
Reproducible Demo
https://repl.it/@rburgst/html-react-parser
Environment
- Version: 0.10.5
- Platform: node
- Browser: N/A
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request