Markdown reader: use take1WhileP for table row.
This commit is contained in:
parent
cc5afbb834
commit
703cbf437c
1 changed files with 1 additions and 1 deletions
|
@ -1286,7 +1286,7 @@ rawTableLine :: PandocMonad m
|
|||
-> MarkdownParser m [Text]
|
||||
rawTableLine indices = do
|
||||
notFollowedBy' (blanklines' <|> tableFooter)
|
||||
line <- many1TillChar anyChar newline
|
||||
line <- take1WhileP (/='\n') <* newline
|
||||
return $ map trim $ tail $
|
||||
splitTextByIndices (init indices) line
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue