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.

classification
Title: Handling of broken end tags in HTMLParser
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: eric.araujo, ezio.melotti, python-dev
Priority: normal Keywords: patch

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</p>
</div end tmAd-leaderBoard>
</<h4>
</li class="unit">
</li\r\n\t\t\t\t\t\t</ul>
</><
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:26adminsetgithub: 58201
2012-02-13 14:29:51ezio.melottisetstatus: open -> closed
resolution: fixed
messages: + msg153274

stage: commit review -> resolved
2012-02-13 14:29:05python-devsetmessages: + msg153273
2012-02-13 09:42:39python-devsetnosy: + python-dev
messages: + msg153256
2012-02-11 15:05:53ezio.melottisetfiles: + issue13993-2.diff
2012-02-11 13:49:57ezio.melotticreate