Error in parsing HTML tags

Jun 26, 2015 at 8:52 AM
I found an error, when I parse a following string:

"<h4>text h4</h4></br><h3>text h3</h3></br><h2>text h2</h2></br><h1>text h1</h1>"

I get all the nodes, apart from the node h3 and one br.