This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients Chenyun Yang, ezio.melotti, josh.r, xiang.zhang
Date 2015-09-29.05:22:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443504179.0.0.506815167012.issue25258@psf.upfronthosting.co.za>
In-reply-to
Content
From the specification, void element has no end tag, so I think this
behaviour can not be called incorrect. For void element, only
handle_starttag is called.

And for start tag ends with '/>', actually HTMLParser calls
handle_startendtag, which invokes handle_starttag and
handle_endtag.

I think there are two solutions, filter void elements in the library
and then invoke handle_startendtag, or filter void elements in the
application in handle_starttag and then invoke handle_endtag.
History
Date User Action Args
2015-09-29 05:22:59xiang.zhangsetrecipients: + xiang.zhang, ezio.melotti, josh.r, Chenyun Yang
2015-09-29 05:22:58xiang.zhangsetmessageid: <1443504179.0.0.506815167012.issue25258@psf.upfronthosting.co.za>
2015-09-29 05:22:58xiang.zhanglinkissue25258 messages
2015-09-29 05:22:58xiang.zhangcreate