Fix #2984: Invalid HTML has been generated if html_split_index enabled

This commit is contained in:
Takeshi KOMIYA 2016-10-07 12:47:52 +09:00
parent 4c3c128e9b
commit 562eb51e5b
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ Bugs fixed
* #3004: Invalid link types "top" and "up" are used
* #3009: Bad rendering of parsed-literals in LaTeX since Sphinx 1.4.4
* #3000: ``option`` directive generates invalid HTML anchors
* #2984: Invalid HTML has been generated if `html_split_index` enabled
Documentation
-------------

View File

@ -36,7 +36,7 @@
{%- for column in entries|slice(2) if column %}
<td style="width: 33%; vertical-align: top;"><ul>
{%- for entryname, (links, subitems, _) in column %}
<li>{{ indexentries(entryname, links) }}</li>
<li>{{ indexentries(entryname, links) }}
{%- if subitems %}
<ul>
{%- for subentryname, subentrylinks in subitems %}