Comment 2 for bug 1285625

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote : Re: remove_blank_text has no effect on html.HTMLParser

> The HTML parser is smarter in that it knows where whitespace is relevant, so it will only discard it when it isn't (key term here is "ignorable whitespace").

In that case, surely sending `remove_blank_text` to HTMLParser should be at least a warning if not an error, and pretty printing through html.tostring should be much the same?