aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2018-02-20 09:17:52 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2018-02-20 09:17:52 -0500
commit705145956d8fbb77aa0a63b87d00a10660ca3279 (patch)
treef66177b76f33f9718775aac77bd1b61f2c594f39
parentb9b66d3b291cda768304fa28cba578f6e4dd8b37 (diff)
downloadpandoc-705145956d8fbb77aa0a63b87d00a10660ca3279.tar.gz
Muse reader: fix compiler warning
lambda variable `st` shadowed an existing variable.
-rw-r--r--src/Text/Pandoc/Readers/Muse.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Muse.hs b/src/Text/Pandoc/Readers/Muse.hs
index b9f233a1f..c19b42503 100644
--- a/src/Text/Pandoc/Readers/Muse.hs
+++ b/src/Text/Pandoc/Readers/Muse.hs
@@ -912,7 +912,7 @@ link = try $ do
guard $ not $ museInLink st
setState $ st{ museInLink = True }
(url, title, content) <- linkText
- updateState (\st -> st { museInLink = False })
+ updateState (\state -> state { museInLink = False })
return $ case stripPrefix "URL:" url of
Nothing -> if isImageUrl url
then B.image url title <$> fromMaybe (return mempty) content