SyntaxFix
Write A Post
Hire A Developer
Questions
I had the same problem when parsing html to string. Removing the last <p></p> (and replacing it with an alternative if desirable, like < /br>) solved it for me.
html
string
<p></p>