git.iko.soy/typeable/pandoc
on master help sign in
Small improvement to fix to #1333.

This allows blank lines at end of multiline headers.

commitf9b97e6bfb1d26bd328cdbb1ca83c4558e7f4a0c authorJohn MacFarlane <jgm@berkeley.edu> dateMon 16 Jun 2014, 21:26 (12 years ago) parent9da5d89
1 file changed+1−4
src/Text/Pandoc/Readers/Markdown.hs+1−4
src/Text/Pandoc/Readers/Markdown.hs+1−4
@@ -1121,10 +1121,7 @@ multilineTableHeader headless = try $ do
11211121 tableSep >> notFollowedBy blankline
11221122 rawContent <- if headless
11231123 then return $ repeat ""
1124− else many1 $ do
1125− notFollowedBy blankline
1126− notFollowedBy tableSep
1127− anyLine
1124+ else many1 $ notFollowedBy tableSep >> anyLine
11281125 initSp <- nonindentSpaces
11291126 dashes <- many1 (dashedLine '-')
11301127 newline