diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-11-18 23:40:18 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-11-18 23:40:18 -0800 |
commit | 8a157ff83930d3a630168020a963a1ea08bfd6ae (patch) | |
tree | 956a4a0234668012129e03395a4e25dee6639129 /src | |
parent | 681afbfaac1589dbcd4149c185657b10b7df1d47 (diff) | |
download | pandoc-8a157ff83930d3a630168020a963a1ea08bfd6ae.tar.gz |
LaTeX reader: allow optional arguments after \\ in tables.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 7d2d62762..f91e62d31 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -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 '&' |