Skip to content

Commit

Permalink
Creole reader: Fix performance issue for longer lists. (#4075)
Browse files Browse the repository at this point in the history
Fixes #4067.
  • Loading branch information
swilde authored and jgm committed Nov 16, 2017
1 parent 508aab0 commit 4e02ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Readers/Creole.hs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ endOfParaElement = lookAhead $ endOfInput <|> endOfPara
endOfPara = try $ blankline >> skipMany1 blankline
startOf :: PandocMonad m => CRLParser m a -> CRLParser m ()
startOf p = try $ blankline >> p >> return mempty
startOfList = startOf $ anyList 1
startOfList = startOf $ anyListItem 1
startOfTable = startOf table
startOfHeader = startOf header
startOfNowiki = startOf nowiki
Expand Down

0 comments on commit 4e02ed5

Please sign in to comment.