aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/MediaWiki.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/MediaWiki.hs b/src/Text/Pandoc/Readers/MediaWiki.hs
index f3adbe72e..89c295141 100644
--- a/src/Text/Pandoc/Readers/MediaWiki.hs
+++ b/src/Text/Pandoc/Readers/MediaWiki.hs
@@ -261,7 +261,7 @@ linebreak = B.linebreak <$
externalLink :: MWParser Inlines
externalLink = try $ do
char '['
- (orig, src) <- uri
+ (_, src) <- uri
skipMany1 spaceChar
lab <- manyTill inline (char ']')
let lab' = if null lab
@@ -271,7 +271,7 @@ externalLink = try $ do
url :: MWParser Inlines
url = do
- (_, src) <- uri
+ (orig, src) <- uri
return $ B.link src "" (B.str orig)
nowiki :: MWParser Inlines