diff options
author | Jannis Vajen <jvajen@gmail.com> | 2022-02-27 14:25:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-27 14:25:54 (GMT) |
commit | 345572a1a0263076081020524016eae867677cac (patch) | |
tree | bd8a0d74d452e7cc98a111198c7ed24a581255d7 /Misc | |
parent | 5a1c637ec6264790d3cfeef46815c62c32b510f3 (diff) | |
download | cpython-345572a1a0263076081020524016eae867677cac.zip cpython-345572a1a0263076081020524016eae867677cac.tar.gz cpython-345572a1a0263076081020524016eae867677cac.tar.bz2 |
bpo-46786: Make ElementTree write the HTML tags embed, source, track, wbr as empty tags (GH-31406)
See https://html.spec.whatwg.org/multipage/syntax.html#void-elements
for reference.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-02-18-12-10-26.bpo-46786.P0xRvS.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-02-18-12-10-26.bpo-46786.P0xRvS.rst b/Misc/NEWS.d/next/Library/2022-02-18-12-10-26.bpo-46786.P0xRvS.rst new file mode 100644 index 0000000..e0384a8 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-02-18-12-10-26.bpo-46786.P0xRvS.rst @@ -0,0 +1,2 @@ +The HTML serialisation in xml.etree.ElementTree now writes ``embed``, +``source``, ``track`` and ``wbr`` as empty tags, as defined in HTML 5. |