SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664)

* "--!>" now ends the comment.
* "-- >" no longer ends the comment.
* Support abnormally ended empty comments "<-->" and "<--->".

---------

Co-author: Kerim Kabirov <the.privat33r+gh@pm.me>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
S
Serhiy Storchaka committed
8ac7613dc8b8f82253d7c0e2b6ef6ed703a0a1ee
Parent: b582d75
Committed by GitHub <noreply@github.com> on 7/4/2025, 7:00:23 AM