Closed
Description
Expected Behavior
Parser should ignore invalid html "tags".
Actual Behavior
I receive this error in the console :
DOMException: Failed to execute 'createElement' on 'Document': The tag name provided ('[email protected]') is not a valid name.
Steps to Reproduce
I'm parsing an email body and one of it's contents has this format: <an,[email protected]>
var parse = require('html-react-parser');
parse("<p><[email protected]></p>");
Environment
- Version: 0.6.4
- Platform: Windows 10
- Browser: Google Chrome 77.0.3865.90