Message251891
I think the bug is mostly about inconsistent behavior: <img> and <img/>
shouldn't be parsed differently.
This causes problem in the case that the parser won't be able to know
consistently whether it has ended the visit of <img> tag.
I propose one fix which will be: in the `parse_internal' method call, check
for void elements and call `handle_startendtag'
On Tue, Sep 29, 2015 at 1:27 PM, Martin Panter <report@bugs.python.org>
wrote:
>
> Martin Panter added the comment:
>
> Also applies to Python 3, though I’m not sure I would consider it a bug.
>
> ----------
> nosy: +martin.panter
> versions: +Python 3.4, Python 3.5, Python 3.6
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue25258>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2015-09-29 21:35:43 | Chenyun Yang | set | recipients:
+ Chenyun Yang, ezio.melotti, martin.panter, josh.r, xiang.zhang |
2015-09-29 21:35:43 | Chenyun Yang | link | issue25258 messages |
2015-09-29 21:35:43 | Chenyun Yang | create | |
|