Skip to content

Commit

Permalink
MediaWiki reader: Allow Image: for images.
Browse files Browse the repository at this point in the history
Closes #971.
  • Loading branch information
jgm committed Sep 6, 2013
1 parent f49749c commit 728e47a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pandoc/Readers/MediaWiki.hs
Expand Up @@ -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 "]]")
Expand Down

0 comments on commit 728e47a

Please sign in to comment.