summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/transforms/csl.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-18 16:09:13 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-03-18 16:12:02 -0700
commit81a82573dc78a8cbf2f86100043f74f1305f4c56 (patch)
treea515d387d68361594275e31771da4e7f108fbe57 /python/fatcat_tools/transforms/csl.py
parent3d82671bd350681c62b53125b887b01543e8ad7c (diff)
downloadfatcat-81a82573dc78a8cbf2f86100043f74f1305f4c56.tar.gz
fatcat-81a82573dc78a8cbf2f86100043f74f1305f4c56.zip
expose bibtex and citeproc; revert /unstable/ prefixes
Diffstat (limited to 'python/fatcat_tools/transforms/csl.py')
-rw-r--r--python/fatcat_tools/transforms/csl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/transforms/csl.py b/python/fatcat_tools/transforms/csl.py
index 3509f350..7bc026ed 100644
--- a/python/fatcat_tools/transforms/csl.py
+++ b/python/fatcat_tools/transforms/csl.py
@@ -208,7 +208,7 @@ def citeproc_csl(csl_json, style, html=False):
bib.register(Citation([CitationItem(csl_json['id'])]))
lines = bib.bibliography()[0]
if style == "bibtex":
- out = "\n"
+ out = ""
for l in lines:
if l.startswith(" @"):
out += "@"