parent
f49749c46d
commit
728e47ae15
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ endline = () <$ try (newline <*
|
||||||
image :: MWParser Inlines
|
image :: MWParser Inlines
|
||||||
image = try $ do
|
image = try $ do
|
||||||
sym "[["
|
sym "[["
|
||||||
sym "File:"
|
sym "File:" <|> sym "Image:"
|
||||||
fname <- many1 (noneOf "|]")
|
fname <- many1 (noneOf "|]")
|
||||||
_ <- many (try $ char '|' *> imageOption)
|
_ <- many (try $ char '|' *> imageOption)
|
||||||
caption <- (B.str fname <$ sym "]]")
|
caption <- (B.str fname <$ sym "]]")
|
||||||
|
|
Loading…
Reference in a new issue