I'm using DOMParser and when using text/html mime type it never seems to report any errors no matter what the document content is. So I think need to write some validation over the resulting HTML. Should probably walk entire tree validating entire UL>LI>P>Inline structure.
I'm using
DOMParser
and when usingtext/html
mime type it never seems to report any errors no matter what the document content is. So I think need to write some validation over the resulting HTML. Should probably walk entire tree validating entire UL>LI>P>Inline structure.