diff options
| author | John MacFarlane <[email protected]> | 2023-02-28 10:22:52 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-02-28 10:22:52 -0800 |
| commit | 5ef944a0061c446bd5741e6a7727946966517e12 (patch) | |
| tree | 1242424c5a96924af52303ada4ea356ff6af85d1 /src | |
| parent | 536f72ba1126fbdc0b9b8b019c559d89f9bfbaf4 (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.hs | 2 |
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 |
