Issue 13993: Handling of broken end tags in HTMLParser (original) (raw)

Created on 2012-02-11 13:49 by ezio.melotti, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue13993.diff ezio.melotti,2012-02-11 13:49 Patch against 3.2 review
issue13993-2.diff ezio.melotti,2012-02-11 15:05 Patch against 3.2 review
Messages (4)
msg153126 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2012-02-11 13:49
The attached patch fixes the parser to handle broken end tags like: </label

</div end tmAd-leaderBoard> </

</li class="unit"> </li\r\n\t\t\t\t\t\t </><

msg153256 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-02-13 09:42
New changeset df5e5eea7833 by Ezio Melotti in branch '3.2': #13993: HTMLParser is now able to handle broken end tags when strict=False. http://hg.python.org/cpython/rev/df5e5eea7833 New changeset 2e66baa1d86a by Ezio Melotti in branch 'default': #13993: merge with 3.2. http://hg.python.org/cpython/rev/2e66baa1d86a
msg153273 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-02-13 14:29
New changeset a349448474ea by Ezio Melotti in branch '2.7': #13993: HTMLParser is now able to handle broken end tags. http://hg.python.org/cpython/rev/a349448474ea
msg153274 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2012-02-13 14:29
This is now fixed.
History
Date User Action Args
2022-04-11 14:57:26 admin set github: 58201
2012-02-13 14:29:51 ezio.melotti set status: open -> closedresolution: fixedmessages: + stage: commit review -> resolved
2012-02-13 14:29:05 python-dev set messages: +
2012-02-13 09:42:39 python-dev set nosy: + python-devmessages: +
2012-02-11 15:05:53 ezio.melotti set files: + issue13993-2.diff
2012-02-11 13:49:57 ezio.melotti create