cpython/Lib/html
Miss Islington (bot) 85766db07e
[3.10] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664) (GH-136275)
* "--!>" now ends the comment.
* "-- >" no longer ends the comment.
* Support abnormally ended empty comments "<-->" and "<--->".

---------
(cherry picked from commit 8ac7613dc8)


Co-author: Kerim Kabirov <the.privat33r+gh@pm.me>

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2025-07-12 14:24:27 +02:00
..
__init__.py gh-100210: Correct the comment link for unescaping HTML (GH-100212) 2023-02-19 02:41:53 -08:00
entities.py Add source for character mappings (GH-92014) (#92389) 2022-05-06 12:58:16 +02:00
parser.py [3.10] gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664) (GH-136275) 2025-07-12 14:24:27 +02:00