diff options
| author | Albert Krewinkel <albert@zeitkraut.de> | 2023-03-01 12:15:48 +0100 |
|---|---|---|
| committer | Albert Krewinkel <albert@zeitkraut.de> | 2023-03-01 12:20:47 +0100 |
| commit | c8147fc58354e9fdf117240efc79801b6b5d3658 (patch) | |
| tree | 255de9d1254a13d2994971e35bbc72c61004108a /src/Text | |
| parent | 5ef944a0061c446bd5741e6a7727946966517e12 (diff) | |
Org reader: accept empty tables
Fixes: #8659
Diffstat (limited to 'src/Text')
| -rw-r--r-- | src/Text/Pandoc/Readers/Org/Blocks.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Blocks.hs b/src/Text/Pandoc/Readers/Org/Blocks.hs index 4dcf56b22..ac2af1476 100644 --- a/src/Text/Pandoc/Readers/Org/Blocks.hs +++ b/src/Text/Pandoc/Readers/Org/Blocks.hs @@ -685,7 +685,7 @@ tableRows = try $ many (tableAlignRow <|> tableHline <|> tableContentRow) tableContentRow :: PandocMonad m => OrgParser m OrgTableRow tableContentRow = try $ - OrgContentRow . sequence <$> (tableStart *> many1Till tableContentCell newline) + OrgContentRow . sequence <$> (tableStart *> manyTill tableContentCell newline) tableContentCell :: PandocMonad m => OrgParser m (F Blocks) tableContentCell = try $ |
