summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-05-17 12:47:27 +0200
committerGitHub <noreply@github.com>2017-05-17 12:47:27 +0200
commit61e965b117bf8cc60d30f7f44582ed8b4bb2b9e1 (patch)
tree8b7cca6399242658c8b9d7c083cf58d968e5025e
parent377733e08fdaea359e73b03952913cc32b537d9e (diff)
parente74bd06cc8b05c0820601cb764ddb679fc9fca77 (diff)
Merge pull request #3676 from labdsf/space-char
Txt2Tags parser: newline is not indentation
-rw-r--r--src/Text/Pandoc/Readers/Txt2Tags.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Txt2Tags.hs b/src/Text/Pandoc/Readers/Txt2Tags.hs
index d8b6c016c..aa7774b4c 100644
--- a/src/Text/Pandoc/Readers/Txt2Tags.hs
+++ b/src/Text/Pandoc/Readers/Txt2Tags.hs
@@ -278,7 +278,7 @@ listContinuation markerLength = try $
where listLine = try $ indentWith markerLength *> anyLineNewline
indentWith :: Int -> T2T String
-indentWith n = count n space
+indentWith n = count n spaceChar
-- Table