Closed onhate closed 3 years ago
I would expect the outcome of the following html snippet when invoking structuredText to be content inside html but instead I'm getting content insidehtml
structuredText
content inside html
content insidehtml
<p>content</p><span><u><h1>inside</h1><i>htm<u>l</u></i></u></span>
According to what is rendered as html it was supposed to have an extra space on the header element, correct?
https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements
<h1>, <h2>, <h3>, <h4>, <h5>, <h6> Heading levels 1-6.
HTMLParser.parse("<p>content</p><span><u><h1>inside</h1><i>htm<u>l</u></i></u></span>").structuredText;
I would expect the outcome of the following html snippet when invoking
structuredText
to becontent inside html
but instead I'm gettingcontent insidehtml
According to what is rendered as html it was supposed to have an extra space on the header element, correct?
https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements