Fixed exponential parsing bug in textile reader.
Closes #3020.
commit00b11bcbcf514585411aac7e578c1a718ff5de20
authorJohn MacFarlane <jgm@berkeley.edu>
dateThu 14 Jul 2016, 08:42 (10 years ago)
parent106786e
src/Text/Pandoc/Readers/Textile.hs+1
@@ -277,6 +277,7 @@ definitionListStart :: Parser [Char] ParserState Inlines
277277definitionListStart = try $ do
278278 char '-'
279279 whitespace
280+ notFollowedBy newline
280281 trimInlines . mconcat <$>
281282 many1Till inline (try (string ":=")) <* optional whitespace
282283