Skip to content

Commit

Permalink
Update docutils_renderer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Dec 28, 2021
1 parent 50a04f5 commit 56214b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions myst_parser/docutils_renderer.py
Expand Up @@ -730,6 +730,7 @@ def dict_to_fm_field_list(
"""
field_list = nodes.field_list()
field_list.source, field_list.line = self.document["source"], line

bibliofields = get_language(language_code).bibliographic_fields
state_machine = MockStateMachine(self, line)
Expand All @@ -745,6 +746,8 @@ def dict_to_fm_field_list(
para_nodes = [nodes.Text(value, value)]

body_children = [nodes.paragraph("", "", *para_nodes)]
body_children[0].source = self.document["source"]
body_children[0].line = 0

field_node = nodes.field()
field_node.source = value
Expand Down

0 comments on commit 56214b0

Please sign in to comment.