git.iko.soy/typeable/pandoc
on master help sign in
Fixed a misleading comment.
commit61335074b260456b0fbd93e69764771033c6e1dd authorJohn MacFarlane <jgm@berkeley.edu> dateSat 10 Dec 2016, 11:16 (10 years ago) parent49502b9
1 file changed+1−1
pandoc.hs+1−1
pandoc.hs+1−1
@@ -1463,7 +1463,7 @@ convertWithOpts opts args = do
14631463 -- We parse first if (1) fileScope is set, (2), it's a binary
14641464 -- reader, or (3) we're reading JSON. This is easier to do of an AND
14651465 -- of negatives as opposed to an OR of positives, so we do default
1466− -- parsing if it's a StringReader AND (fileScope is set AND it's not
1466+ -- parsing if it's a StringReader AND (fileScope is not set AND it's not
14671467 -- a JSON reader).
14681468 (doc, media) <- case reader of
14691469 (StringReader _) | not fileScope && readerName' /= "json" ->