Skip to content

Commit

Permalink
squash citation to single line
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyam D committed Jul 2, 2021
1 parent fcce337 commit a2300fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_bibtex/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,5 @@ def to_markdown_pandoc(entry, csl_path):
filters=["pandoc-citeproc"],
)

citation = markdown[4:]
citation = markdown.replace("\n", " ")[4:]
return citation

0 comments on commit a2300fb

Please sign in to comment.