Docs HTML: Remove self-closing tags#132220
Conversation
|
I think we have self-closing tags in Sphinx' writers so we should also fix this upstream. |
|
Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
|
Sorry, @hugovk, I could not cleanly backport this to |
|
Sorry, @hugovk, I could not cleanly backport this to |
(cherry picked from commit ce72457) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
|
GH-132228 is a backport of this pull request to the 3.13 branch. |
(cherry picked from commit ce72457) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
|
GH-132229 is a backport of this pull request to the 3.12 branch. |
|
Change in |
|
Ah, EPUB is the holdover using XHTML… Cursed knowledge. The templates used by HTML and EPUB builders should be kept compatible then 🙁 |
|
I've opened #133720 with a fix proposition. |
https://developer.mozilla.org/en-US/docs/Glossary/Void_element#self-closing_tags
Let's omit them: they're ignored, could be misleading (give the false impression they do something when they do not) and are ugly (IMO).
📚 Documentation preview 📚: https://cpython-previews--132220.org.readthedocs.build/