From fb93954a269c5c0bb5f07468f3ff6065f147d611 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 19 Sep 2019 23:38:48 -0700 Subject: MediaWiki: skip optional {{table}} template. See https://en.wikipedia.org/wiki/Template:Table Closes #5757. --- src/Text/Pandoc/Readers/MediaWiki.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Text/Pandoc/Readers/MediaWiki.hs b/src/Text/Pandoc/Readers/MediaWiki.hs index 6da3e0777..35bb8e3eb 100644 --- a/src/Text/Pandoc/Readers/MediaWiki.hs +++ b/src/Text/Pandoc/Readers/MediaWiki.hs @@ -208,6 +208,7 @@ table = do styles <- option [] $ parseAttrs <* skipMany spaceChar <* optional (char '|') skipMany spaceChar + optional $ template >> skipMany spaceChar optional blanklines let tableWidth = case lookup "width" styles of Just w -> fromMaybe 1.0 $ parseWidth w -- cgit v1.2.3