Fix #6263: html: HTML5Translator crashed with invalid field node

This commit is contained in:
Takeshi KOMIYA 2019-04-07 18:11:02 +09:00
parent 8742761160
commit a397610887
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ Bugs fixed
* #6245: circular import error on importing SerializingHTMLBuilder * #6245: circular import error on importing SerializingHTMLBuilder
* #6243: LaTeX: 'releasename' setting for latex_elements is ignored * #6243: LaTeX: 'releasename' setting for latex_elements is ignored
* #6244: html: Search function is broken with 3rd party themes * #6244: html: Search function is broken with 3rd party themes
* #6263: html: HTML5Translator crashed with invalid field node
Testing Testing
-------- --------

View File

@ -68,6 +68,7 @@ class HTML5Translator(SphinxTranslator, BaseTranslator):
self.param_separator = '' self.param_separator = ''
self.optional_param_level = 0 self.optional_param_level = 0
self._table_row_index = 0 self._table_row_index = 0
self._fieldlist_row_index = 0
self.required_params_left = 0 self.required_params_left = 0
def visit_start_of_file(self, node): def visit_start_of_file(self, node):