Skip to content

Commit

Permalink
Fix fstring quote nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
twitwi committed Jul 25, 2024
1 parent 9e8c182 commit 42f183d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mccole/extensions/termdefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def termdefs(node):
terms = [_make_ref(node, glossary, lang, key) for key in sorted(keys)]
terms = [t for t in terms if t is not None]
terms = ", ".join(terms)
return f'<p class="terms">{util.kind('defined')}: \n{terms}\n</p>'
return f'''<p class="terms">{util.kind('defined')}: \n{terms}\n</p>'''


def _make_ref(node, glossary, lang, key):
Expand Down

0 comments on commit 42f183d

Please sign in to comment.