gave up (for now) on pretty printing

beautiful soup produced invalid html with both the default and html5lib
parsers.
updated example now without pretty print