diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-11-07 11:03:33 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-11-07 11:03:33 -0800 |
commit | 1af2ebce4315e2fee9a41bcedbb2287395952ea6 (patch) | |
tree | 06cc86c93a4c19ea9be91e16b3ed563153560435 | |
parent | e95e6f366403779cca647d49ce4f6a0e5ef3d9c6 (diff) | |
download | pandoc-1af2ebce4315e2fee9a41bcedbb2287395952ea6.tar.gz |
Biblio - fixed author-in-text citations so they don't double.
-rw-r--r-- | src/Text/Pandoc/Biblio.hs | 2 |
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] |