mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
[Latex Reader] Table cell parser not consuming spaces correctly (#6597)
* Added test to replicate (#6596) * Table cell reader not consuming spaces correctly (#6596)
This commit is contained in:
@@ -2387,9 +2387,11 @@ parseTableRow envname prefsufs = do
|
||||
|
||||
parseTableCell :: PandocMonad m => LP m Cell
|
||||
parseTableCell = do
|
||||
spaces
|
||||
updateState $ \st -> st{ sInTableCell = True }
|
||||
cell' <- parseMultiCell <|> parseSimpleCell
|
||||
updateState $ \st -> st{ sInTableCell = False }
|
||||
spaces
|
||||
return cell'
|
||||
|
||||
cellAlignment :: PandocMonad m => LP m Alignment
|
||||
|
||||
Reference in New Issue
Block a user