Skip to content

Commit

Permalink
Merge pull request #6267 from tk0miya/6263_HTML5Translator_crashed
Browse files Browse the repository at this point in the history
Fix #6263: html: HTML5Translator crashed with invalid field node
  • Loading branch information
tk0miya committed Apr 7, 2019
2 parents 8eca15b + 6a87ba4 commit 7b2dd80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES
Expand Up @@ -30,6 +30,7 @@ Bugs fixed
* #6245: circular import error on importing SerializingHTMLBuilder
* #6243: LaTeX: 'releasename' setting for latex_elements is ignored
* #6244: html: Search function is broken with 3rd party themes
* #6263: html: HTML5Translator crashed with invalid field node
* #6262: html theme: The style of field lists has changed in bizstyle theme

Testing
Expand Down
1 change: 1 addition & 0 deletions sphinx/writers/html5.py
Expand Up @@ -68,6 +68,7 @@ def __init__(self, *args):
self.param_separator = ''
self.optional_param_level = 0
self._table_row_index = 0
self._fieldlist_row_index = 0
self.required_params_left = 0

def visit_start_of_file(self, node):
Expand Down

0 comments on commit 7b2dd80

Please sign in to comment.