Skip to content

Commit 165fd1e

Browse files
Update NEWS.
1 parent 50fd4b3 commit 165fd1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
Fix CDATA section parsing in :class:`html.parser.HTMLParser` according to
22
the HTML5 standard: ``] ]>`` and ``]] >`` no longer end the CDATA section.
3+
Add private method ``_set_support_cdata()`` which can be used to specify
4+
how to parse ``<[CDATA[`` -- as a CDATA section in foreign content
5+
(SVG or MathML) or as a bogus comment in the HTML namespace.

0 commit comments

Comments
 (0)