git.iko.soy/typeable/pandoc
on master help sign in
Txt2Tags parser: newline is not indentation

space parses '\n', while spaceChar parses only ' ' and '\t'

commite74bd06cc8b05c0820601cb764ddb679fc9fca77 authorAlexander Krotov <ilabdsf@gmail.com> dateWed 17 May 2017, 02:12 (9 years ago) parentfbce422
1 file changed+1−1
src/Text/Pandoc/Readers/Txt2Tags.hs+1−1
src/Text/Pandoc/Readers/Txt2Tags.hs+1−1
@@ -281,7 +281,7 @@ anyLineNewline :: T2T String
281281anyLineNewline = (++ "\n") <$> anyLine
282282
283283indentWith :: Int -> T2T String
284−indentWith n = count n space
284+indentWith n = count n spaceChar
285285
286286-- Table
287287