Expected Behavior
Parser should try to keep all existing html tags if html string has open and tags, but does not have close and tags
Actual Behavior
Parser completely removes all html children elements if html string has open and tags, but does not have close tag
Steps to Reproduce
Just try to parse following html string:
<html>
<body>
<h1 style="font-family: Arial;">
html-react-parser
</h1>
Reproducible Demo
https://jsfiddle.net/d2g59ch4/
Environment
- Version: 0.2.2
- Platform: Mac OS
- Browser: Chrome 77