Brian Sutherland <br...@vanguardistas.net> added the comment: I also was bitten by this. Attached is the patch I am using, it includes and expands on the originally posted patches using dbaty's "more complex than it should be" method to keep the doctype out of html that didn't already have it.
Using regexes does start to seem like a nice idea after looking at all the gymnastics one has to go through with lxml. __________________________________ Repoze Bugs <b...@bugs.repoze.org> <http://bugs.repoze.org/issue103> __________________________________
keep_html_and_xhtml_doctypes.patch
Description: Binary data
_______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev