Manuel Bärenz <man...@enigmage.de> added the comment: To clarify this even further: Consider parser_instance.feed("<script><td></td></script>")
It should call: parser_instance.handle_starttag("script", []) parser_instance.handle_data("<td></td>") parser_instance.handle_endtag("script", []) Instead, it calls: parser_instance.handle_starttag("script", []) parser_instance.handle_data("<td>") parser_instance.handle_endtag("td", []) parser_instance.handle_endtag("script", []) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13711> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com