Message251821
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. |
|
Date |
User |
Action |
Args |
2015-09-29 05:22:59 | xiang.zhang | set | recipients:
+ xiang.zhang, ezio.melotti, josh.r, Chenyun Yang |
2015-09-29 05:22:58 | xiang.zhang | set | messageid: <1443504179.0.0.506815167012.issue25258@psf.upfronthosting.co.za> |
2015-09-29 05:22:58 | xiang.zhang | link | issue25258 messages |
2015-09-29 05:22:58 | xiang.zhang | create | |
|