aboutsummaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-12-10 11:16:40 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:41 +0100
commit61335074b260456b0fbd93e69764771033c6e1dd (patch)
tree12497ea7dab60d2467e4e2015e2278d37705f743 /pandoc.hs
parent49502b9a02edf03ca9cc03f389ea0595383a40dd (diff)
downloadpandoc-61335074b260456b0fbd93e69764771033c6e1dd.tar.gz
Fixed a misleading comment.
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 18d36b223..adbbc673c 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -1463,7 +1463,7 @@ convertWithOpts opts args = do
-- We parse first if (1) fileScope is set, (2), it's a binary
-- reader, or (3) we're reading JSON. This is easier to do of an AND
-- of negatives as opposed to an OR of positives, so we do default
- -- parsing if it's a StringReader AND (fileScope is set AND it's not
+ -- parsing if it's a StringReader AND (fileScope is not set AND it's not
-- a JSON reader).
(doc, media) <- case reader of
(StringReader _) | not fileScope && readerName' /= "json" ->