aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-02-28 10:22:52 -0800
committerJohn MacFarlane <[email protected]>2023-02-28 10:22:52 -0800
commit5ef944a0061c446bd5741e6a7727946966517e12 (patch)
tree1242424c5a96924af52303ada4ea356ff6af85d1 /src
parent536f72ba1126fbdc0b9b8b019c559d89f9bfbaf4 (diff)
LaTeX table parser: also allow `6*c` in column spec.
With no braces around `c`. See #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 b78792929..def516d6b 100644
--- a/src/Text/Pandoc/Readers/LaTeX/Table.hs
+++ b/src/Text/Pandoc/Readers/LaTeX/Table.hs
@@ -108,7 +108,7 @@ parseAligns = try $ do
spaces
ds <- trim . untokenize <$> bracedOrToken
spaces
- spec <- braced
+ spec <- bracedOrToken
case safeRead ds of
Just n -> do
TokStream _ ts <- getInput