MediaWiki reader: Allow blank line after table start.

See #2649.
This commit is contained in:
John MacFarlane 2017-02-21 18:34:21 +01:00
parent 598ffa3a94
commit 1d06e8c5a5

View file

@ -219,7 +219,7 @@ para = do
table :: PandocMonad m => MWParser m Blocks
table = do
tableStart
styles <- option [] parseAttrs <* blankline
styles <- option [] parseAttrs <* blanklines
let tableWidth = case lookup "width" styles of
Just w -> fromMaybe 1.0 $ parseWidth w
Nothing -> 1.0