git.iko.soy/typeable/pandoc
on master help sign in
Fixed exponential parsing bug in textile reader.
00b11bcJohn MacFarlane
src/Text/Pandoc/Readers/Textile.hs+1
@@ -277,6 +277,7 @@ definitionListStart :: Parser [Char] ParserState Inlines
277definitionListStart = try $ do
277definitionListStart = try $ do
278 char '-'
278 char '-'
279 whitespace
279 whitespace
280+ notFollowedBy newline
280 trimInlines . mconcat <$>
281 trimInlines . mconcat <$>
281 many1Till inline (try (string ":=")) <* optional whitespace
282 many1Till inline (try (string ":=")) <* optional whitespace
282
283