From dbd6c1540f9688a3439fceec405ec4d86dc951d5 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 4 May 2014 16:21:18 -0700 Subject: Fixed the fix to #1154. We need to strip off up to 4 spaces, not up to 3. --- src/Text/Pandoc/Readers/Markdown.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Readers/Markdown.hs') diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index 69245cf66..aac87f363 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -746,7 +746,7 @@ listLine = try $ do many spaceChar listStart) notFollowedBy' $ htmlTag (~== TagClose "div") - nonindentSpaces + optional (() <$ indentSpaces) chunks <- manyTill ( many1 (satisfy $ \c -> c /= '\n' && c /= '<') <|> liftM snd (htmlTag isCommentTag) -- cgit v1.2.3