summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2023-03-01 12:15:48 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2023-03-01 12:20:47 +0100
commitc8147fc58354e9fdf117240efc79801b6b5d3658 (patch)
tree255de9d1254a13d2994971e35bbc72c61004108a /src
parent5ef944a0061c446bd5741e6a7727946966517e12 (diff)
Org reader: accept empty tables
Fixes: #8659
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/Org/Blocks.hs2
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 $