git.iko.soy/typeable/pandoc
on master help sign in
Allow pipe tables with header but no body.

Closes #2017.

commit75a2a7ba696af883cc38f1817c93de660c8f1d67 authorJohn MacFarlane <jgm@berkeley.edu> dateMon 23 Mar 2015, 20:26 (12 years ago) parentc302bdc
1 file changed+1−1
src/Text/Pandoc/Readers/Markdown.hs+1−1
src/Text/Pandoc/Readers/Markdown.hs+1−1
@@ -1292,7 +1292,7 @@ pipeBreak = try $ do
12921292pipeTable :: MarkdownParser ([Alignment], [Double], [Blocks], [[Blocks]])
12931293pipeTable = try $ do
12941294 (heads,aligns) <- (,) <$> pipeTableRow <*> pipeBreak
1295− lines' <- many1 pipeTableRow
1295+ lines' <- many pipeTableRow
12961296 let widths = replicate (length aligns) 0.0
12971297 return (aligns, widths, heads, lines')
12981298