Skip to content

Commit 3d0fdd2

Browse files
Update the NEWS entry.
1 parent 8cc34e7 commit 3d0fdd2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
Add the *validate* option to :mod:`xml.etree.ElementTree` serialization
2-
functions, which allows to validate the element or element tree before
3-
serialization.
2+
functions, which allows to check that all characters are legal,
3+
that element and attribute names are valid, and that the content
4+
of comments, processing instructions and HTML elements
5+
like ``<script>`` do not contain illegal sequences according
6+
to the selected *method* (``"xml"`` or ``"html"``).

0 commit comments

Comments
 (0)