diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-07-14 08:42:38 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-07-14 08:42:38 -0700 |
commit | 00b11bcbcf514585411aac7e578c1a718ff5de20 (patch) | |
tree | f19e26dba3c879350503c4c053fade6d9d4da3ff /src/Text/Pandoc | |
parent | 106786ef1b1275cbaab9173e7f1c9372dec88279 (diff) | |
download | pandoc-00b11bcbcf514585411aac7e578c1a718ff5de20.tar.gz |
Fixed exponential parsing bug in textile reader.
Closes #3020.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/Textile.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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 |