diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2017-05-17 02:12:24 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2017-05-17 02:12:24 +0300 |
commit | e74bd06cc8b05c0820601cb764ddb679fc9fca77 (patch) | |
tree | f83830eec7cf56b8f6a75019335889c3c8a2d9d2 /src | |
parent | fbce4228a52de9bba5a30197b165afc66a5a83dc (diff) |
Txt2Tags parser: newline is not indentation
space parses '\n', while spaceChar parses only ' ' and '\t'
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/Txt2Tags.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Txt2Tags.hs b/src/Text/Pandoc/Readers/Txt2Tags.hs index 33f785109..012ab7cb1 100644 --- a/src/Text/Pandoc/Readers/Txt2Tags.hs +++ b/src/Text/Pandoc/Readers/Txt2Tags.hs @@ -281,7 +281,7 @@ anyLineNewline :: T2T String anyLineNewline = (++ "\n") <$> anyLine indentWith :: Int -> T2T String -indentWith n = count n space +indentWith n = count n spaceChar -- Table |