diff options
| author | Sascha Wilde <wilde@sha-bang.de> | 2023-10-16 16:12:11 +0200 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-10-16 09:06:56 -0700 |
| commit | f9dc5b5012be5b80af8c3ce587335dca50c075b5 (patch) | |
| tree | 99f7f049f92a55fe2beb6e6bed3439e4c647059f /src/Text | |
| parent | c76fbe964d302b632e1d125b48b6025f7b888b42 (diff) | |
Handle empty cells correctly in creole reader. Fixes #9141
Diffstat (limited to 'src/Text')
| -rw-r--r-- | src/Text/Pandoc/Readers/Creole.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Creole.hs b/src/Text/Pandoc/Readers/Creole.hs index 63a5b52d0..77308ade7 100644 --- a/src/Text/Pandoc/Readers/Creole.hs +++ b/src/Text/Pandoc/Readers/Creole.hs @@ -149,7 +149,7 @@ table = try $ do <$> (string "|=" >> many1Till inline cellEnd) row = try $ skipSpaces >> many1Till cell rowEnd cell = B.plain . B.trimInlines . mconcat - <$> (char '|' >> many1Till inline cellEnd) + <$> (char '|' >> manyTill inline cellEnd) rowEnd = try $ optional (char '|') >> skipSpaces >> newline cellEnd = lookAhead $ try $ char '|' <|> rowEnd |
