mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 09:47:06 +00:00
Creole reader: Fix performance issue for longer lists. (#4075)
Fixes #4067.
This commit is contained in:
committed by
John MacFarlane
parent
508aab0bd5
commit
4e02ed5f5c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user