Changes between Initial Version and Version 2 of Ticket #37212
- Timestamp:
- Jul 10, 2026, 1:14:58 PM (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37212
- Property Triage Stage Unreviewed → Accepted
-
Ticket #37212 – Description
initial v2 3 3 == 1. Outdated workaround to remove table borders crashes other themes 4 4 5 The `DjangoHTMLTranslator.visit_table()` and `depart_table()` are working around `<table border=1>` created by the docutils html4 writer. But Sphinx has used the ''html5'' writer (which doesn't emit the obsolete border attribute) since 2.0. The workaround depends on undocumented Sphinx internal attrs and causes an `IndexError` when used with (e.g.,) sphinx-pydata-theme.5 The `DjangoHTMLTranslator.visit_table()` and `depart_table()` overrides are working around `<table border=1>` created by the docutils html4 writer. But Sphinx has used the ''html5'' writer (which doesn't emit the obsolete border attribute) since 2.0. The workaround depends on undocumented Sphinx internal attrs and causes an `IndexError` when used with (e.g.,) sphinx-pydata-theme. 6 6 7 7 It can and should be removed. 8 9 Edit: similar problem with `DjangoHTMLTranslator.visit_desc_parameterlist()`, which was meant to prevent `<big>(</big>` in parameter lists. Sphinx hasn't done that in ages, and the override regularly breaks with new Sphinx versions (and prevents use of Sphinx's `multi_line_parameter_list` option). 8 10 9 11 == 2. console-tabs implementation creates asymmetric DOM