Skip to content

Commit 7b2dd80

Browse files
authored
Merge pull request #6267 from tk0miya/6263_HTML5Translator_crashed
Fix #6263: html: HTML5Translator crashed with invalid field node
2 parents 8eca15b + 6a87ba4 commit 7b2dd80

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: CHANGES

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Bugs fixed
3030
* #6245: circular import error on importing SerializingHTMLBuilder
3131
* #6243: LaTeX: 'releasename' setting for latex_elements is ignored
3232
* #6244: html: Search function is broken with 3rd party themes
33+
* #6263: html: HTML5Translator crashed with invalid field node
3334
* #6262: html theme: The style of field lists has changed in bizstyle theme
3435

3536
Testing

Diff for: sphinx/writers/html5.py

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def __init__(self, *args):
6868
self.param_separator = ''
6969
self.optional_param_level = 0
7070
self._table_row_index = 0
71+
self._fieldlist_row_index = 0
7172
self.required_params_left = 0
7273

7374
def visit_start_of_file(self, node):

0 commit comments

Comments
 (0)