aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-02-28 09:21:33 -0800
committerJohn MacFarlane <[email protected]>2023-02-28 09:21:33 -0800
commit536f72ba1126fbdc0b9b8b019c559d89f9bfbaf4 (patch)
treef090408c7084247e6d1a05ed8810c19f697c6b7c /src
parent9e836d16facbb934b2b116478ad57f5321f9d01b (diff)
LaTeX reader: fix multiplication syntax for tabular.
We recognized `*{6}{...}` but not `*6{...}`. Closes #8658.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX/Table.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Table.hs b/src/Text/Pandoc/Readers/LaTeX/Table.hs
index 718ff2dbe..b78792929 100644
--- a/src/Text/Pandoc/Readers/LaTeX/Table.hs
+++ b/src/Text/Pandoc/Readers/LaTeX/Table.hs
@@ -106,7 +106,7 @@ parseAligns = try $ do
let starAlign = do -- '*{2}{r}' == 'rr', we just expand like a macro
symbol '*'
spaces
- ds <- trim . untokenize <$> braced
+ ds <- trim . untokenize <$> bracedOrToken
spaces
spec <- braced
case safeRead ds of