Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Docs HTML: Remove self-closing tags#132220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I think we have self-closing tags in Sphinx' writers so we should also fix this upstream. |
ce72457
intopython:mainUh oh!
There was an error while loading.Please reload this page.
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 commitce72457)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 the3.13 branch. |
(cherry picked from commitce72457)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 the3.12 branch. |
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
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. |
Uh oh!
There was an error while loading.Please reload this page.
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/