Skip to content

Commit

Permalink
Allow partial branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Mar 28, 2022
1 parent e0e0a31 commit 1349c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sphinxcontrib/bibtex/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def node_text_transform(node: docutils.nodes.Element) -> None:
ref_node = docutils.nodes.reference(refuri=next_child.astext())
ref_node += next_child
node.replace(next_child, ref_node)
elif isinstance(child, docutils.nodes.Element):
elif isinstance(child, docutils.nodes.Element): # pragma: no branch
node_text_transform(child)


Expand Down

0 comments on commit 1349c89

Please sign in to comment.