Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 351 Bytes

2025-06-18-13-34-55.gh-issue-135661.NZlpWf.rst

File metadata and controls

5 lines (5 loc) · 351 Bytes

Fix CDATA section parsing in :class:`html.parser.HTMLParser` according to the HTML5 standard: ] ]> and ]] > no longer end the CDATA section. Add private method _set_support_cdata() which can be used to specify how to parse <[CDATA[ --- as a CDATA section in foreign content (SVG or MathML) or as a bogus comment in the HTML namespace.