From 00b11bcbcf514585411aac7e578c1a718ff5de20 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 14 Jul 2016 08:42:38 -0700 Subject: Fixed exponential parsing bug in textile reader. Closes #3020. --- src/Text/Pandoc/Readers/Textile.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text/Pandoc/Readers') diff --git a/src/Text/Pandoc/Readers/Textile.hs b/src/Text/Pandoc/Readers/Textile.hs index 3b8278e27..7c53ef28d 100644 --- a/src/Text/Pandoc/Readers/Textile.hs +++ b/src/Text/Pandoc/Readers/Textile.hs @@ -277,6 +277,7 @@ definitionListStart :: Parser [Char] ParserState Inlines definitionListStart = try $ do char '-' whitespace + notFollowedBy newline trimInlines . mconcat <$> many1Till inline (try (string ":=")) <* optional whitespace -- cgit v1.2.3