aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-03-17 08:48:29 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-03-17 08:48:29 -0700
commitcae52ecc315a0635f81cb2547b4f268ec8a8befa (patch)
tree11839a2bfa2d7a34c98cc3e2a0ff85a51900bb94 /src/Text/Pandoc/Writers
parentabc3896b8e7ba75bfe49f491b860b990e49bf88a (diff)
downloadpandoc-cae52ecc315a0635f81cb2547b4f268ec8a8befa.tar.gz
Revert "LaTeX reader: citation handling changes."
This reverts commit f7229b147314042f946dfded3b441ab0fae260a0.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Markdown.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Writers/Markdown.hs b/src/Text/Pandoc/Writers/Markdown.hs
index 876485552..b496c8011 100644
--- a/src/Text/Pandoc/Writers/Markdown.hs
+++ b/src/Text/Pandoc/Writers/Markdown.hs
@@ -644,8 +644,7 @@ inlineToMarkdown opts (LineBreak)
| otherwise = return $ " " <> cr
inlineToMarkdown _ Space = return space
inlineToMarkdown opts (Cite (c:cs) lst)
- | not (null lst) = inlineListToMarkdown opts lst
- -- if lst is null, citeproc wasn't run; print a pandoc markdown citation
+ | not (isEnabled Ext_citations opts) = inlineListToMarkdown opts lst
| citationMode c == AuthorInText = do
suffs <- inlineListToMarkdown opts $ citationSuffix c
rest <- mapM convertOne cs