Files
Miss Islington (bot)andSerhiy Storchaka 8cfbf3c3f1 [3.15] gh-156658: Only XML white space characters are treated as white space (GH-156659) (GH-156825)
XML defines white space as " \t\r\n" (see XML 1.0, 2.3), but str.strip()
also strips other characters, such as U+00A0.  Such characters could be
lost in ElementTree.indent(), in canonicalize(strip_text=True), and when
parsing with the whitespace-in-element-content feature turned off.
(cherry picked from commit e7c93b7e5c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2026-10-10 09:53:39 +00:00
..