aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-11-07 11:03:33 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-11-07 11:03:33 -0800
commit1af2ebce4315e2fee9a41bcedbb2287395952ea6 (patch)
tree06cc86c93a4c19ea9be91e16b3ed563153560435 /src/Text
parente95e6f366403779cca647d49ce4f6a0e5ef3d9c6 (diff)
downloadpandoc-1af2ebce4315e2fee9a41bcedbb2287395952ea6.tar.gz
Biblio - fixed author-in-text citations so they don't double.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Biblio.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Biblio.hs b/src/Text/Pandoc/Biblio.hs
index 9f1e93791..1b0017a00 100644
--- a/src/Text/Pandoc/Biblio.hs
+++ b/src/Text/Pandoc/Biblio.hs
@@ -71,7 +71,7 @@ processCite s cs (Cite t _) =
then [Cite t $ renderPandoc s [x] ++
if null xs
then []
- else [Space, Cite t $ renderPandoc s xs]]
+ else Space : renderPandoc s xs]
else [Cite t $ renderPandoc s (x:xs)]
_ -> [Str ("Error processing " ++ show t)]
processCite _ _ x = [x]