diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-08-10 11:09:12 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-08-10 11:09:12 -0700 |
commit | 3d7120083a8721e3729d44cd8d46275093437ed3 (patch) | |
tree | b78864472aeaedfe663fa05f679c32f06fa6e94b /src | |
parent | 6543b05116ee58ef4de62f93dcafeb27617d83e6 (diff) | |
download | pandoc-3d7120083a8721e3729d44cd8d46275093437ed3.tar.gz |
Fix RTF table parsing bug that created undesired nested tables.
Closes #7488.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/RTF.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/RTF.hs b/src/Text/Pandoc/Readers/RTF.hs index 749a38dd3..0e7fbac5a 100644 --- a/src/Text/Pandoc/Readers/RTF.hs +++ b/src/Text/Pandoc/Readers/RTF.hs @@ -648,7 +648,7 @@ emitBlocks bs = do let prop = case annotatedToks of [] -> def ((p,_):_) -> p - tbl <- if gInTable prop + tbl <- if gInTable prop || null annotatedToks then pure mempty else closeTable new <- |