diff --git a/src/Text/Pandoc/Readers/MediaWiki.hs b/src/Text/Pandoc/Readers/MediaWiki.hs index 8f1ff2776b26..2b938cd825ea 100644 --- a/src/Text/Pandoc/Readers/MediaWiki.hs +++ b/src/Text/Pandoc/Readers/MediaWiki.hs @@ -523,7 +523,7 @@ endline = () <$ try (newline <* image :: MWParser Inlines image = try $ do sym "[[" - sym "File:" + sym "File:" <|> sym "Image:" fname <- many1 (noneOf "|]") _ <- many (try $ char '|' *> imageOption) caption <- (B.str fname <$ sym "]]")