LaTeX reader: allow optional arguments after \\ in tables.

This commit is contained in:
John MacFarlane 2018-11-18 23:40:18 -08:00
parent 681afbfaac
commit 8a157ff839

View file

@ -2119,7 +2119,8 @@ hline = try $ do
return ()
lbreak :: PandocMonad m => LP m Tok
lbreak = (controlSeq "\\" <|> controlSeq "tabularnewline") <* spaces
lbreak = (controlSeq "\\" <|> controlSeq "tabularnewline")
<* skipopts <* spaces
amp :: PandocMonad m => LP m Tok
amp = symbol '&'