aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/Textile.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Textile.hs b/src/Text/Pandoc/Readers/Textile.hs
index da5d8bee8..263c863ab 100644
--- a/src/Text/Pandoc/Readers/Textile.hs
+++ b/src/Text/Pandoc/Readers/Textile.hs
@@ -310,7 +310,8 @@ tableCell = do
-- | A table row is made of many table cells
tableRow :: Parser [Char] ParserState [TableCell]
-tableRow = try $ ( char '|' *> (endBy1 tableCell (char '|')) <* newline)
+tableRow = try $ ( char '|' *>
+ (endBy1 tableCell (optional blankline *> char '|')) <* newline)
-- | Many table rows
tableRows :: Parser [Char] ParserState [[TableCell]]