Beautifulsoup 4 prettify outputs XHTML, not HTML
No, there is no way to force the .prettify() method to not output XHTML-compliant HTML.
I'm trying to parse and prettify a bunch of files made with Microsoft FrontPage.
Beautifulsoup parses them with no problem, but when I try to print the output with prettify(),
tags like <meta> or <br> are rewritten as <meta ... /> and <br/>.
Is there a way to force HTML output?