serhiy-storchaka · GitHub

Bogus comments that start with "<![CDATA[" should not include the starting "!"
in its value.

@serhiy-storchaka

Open

Merged

@serhiy-storchaka serhiy-storchaka changed the title gh-135661: Fix parsing unterminated bogus in HTMLParser gh-135661: Fix parsing unterminated bogus comments in HTMLParser

Aug 17, 2025

@serhiy-storchaka

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Aug 17, 2025
pythonGH-137873)
Bogus comments that start with "<![CDATA[" should not include the starting "!"
in its value.
(cherry picked from commit  7636a66 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Merged

@serhiy-storchaka

serhiy-storchaka added a commit that referenced this pull request

Aug 17, 2025
…er (GH-137873) (GH-137875)
Bogus comments that start with "<![CDATA[" should not include the starting "!"
in its value.
(cherry picked from commit  7636a66 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request

Aug 19, 2025
pythonGH-137873)
Bogus comments that start with "<![CDATA[" should not include the starting "!"
in its value.

Read the original on github.com ↗