git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #3676 from labdsf/space-char

Txt2Tags parser: newline is not indentation

commit61e965b117bf8cc60d30f7f44582ed8b4bb2b9e1 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 17 May 2017, 12:47 (9 years ago) parent377733ee74bd06
1 file changed+1−1
src/Text/Pandoc/Readers/Txt2Tags.hs+1−1
src/Text/Pandoc/Readers/Txt2Tags.hs+1−1
@@ -278,7 +278,7 @@ listContinuation markerLength = try $
278278 where listLine = try $ indentWith markerLength *> anyLineNewline
279279
280280indentWith :: Int -> T2T String
281−indentWith n = count n space
281+indentWith n = count n spaceChar
282282
283283-- Table
284284