From 64b1394fe2a089828bd58303b23ca461b837cb22 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 3 May 2015 15:06:40 -0700 Subject: Make sure a closing `` doesn't get included in a defn list item. Closes #2127. --- src/Text/Pandoc/Readers/Markdown.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/Markdown.hs b/src/Text/Pandoc/Readers/Markdown.hs index 3722fc0c8..cc5521a62 100644 --- a/src/Text/Pandoc/Readers/Markdown.hs +++ b/src/Text/Pandoc/Readers/Markdown.hs @@ -894,6 +894,7 @@ defRawBlock compact = try $ do firstline <- anyLine let dline = try ( do notFollowedBy blankline + notFollowedByHtmlCloser if compact -- laziness not compatible with compact then () <$ indentSpaces else (() <$ indentSpaces) -- cgit v1.2.3