aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-07-16 12:04:43 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-07-16 12:04:43 -0700
commit493522c5626464fb7a27216ccee381af4a199eef (patch)
treed3a277332284dd2b22ece708d95add08466be7cc /src/Text/Pandoc/Readers
parent18270c7a390b5cb101e16790ccb5e50dd9f34a7a (diff)
downloadpandoc-493522c5626464fb7a27216ccee381af4a199eef.tar.gz
LaTeX reader: Support `\cline` in LaTeX tables.
Closes #7442.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX/Table.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Table.hs b/src/Text/Pandoc/Readers/LaTeX/Table.hs
index 7833da081..f56728fe1 100644
--- a/src/Text/Pandoc/Readers/LaTeX/Table.hs
+++ b/src/Text/Pandoc/Readers/LaTeX/Table.hs
@@ -41,6 +41,7 @@ hline :: PandocMonad m => LP m ()
hline = try $ do
spaces
controlSeq "hline" <|>
+ (controlSeq "cline" <* braced) <|>
-- booktabs rules:
controlSeq "toprule" <|>
controlSeq "bottomrule" <|>