@@ -1018,16 +1018,16 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList
10181018 , ("lstinline", dolstinline)
10191019 , ("mintinline", domintinline)
10201020 , ("Verb", doverb)
1021− , ("url", ((unescapeURL . untokenize) <$> bracedUrl) >>= \url ->
1022− pure (link url "" (str url)))
1023− , ("nolinkurl", ((unescapeURL . untokenize) <$> bracedUrl) >>= \url ->
1024− pure (code url))
1025− , ("href", (unescapeURL . untokenize <$>
1026− bracedUrl <* sp) >>= \url ->
1027− tok >>= \lab -> pure (link url "" lab))
1021+ , ("url", (\url -> link url "" (str url)) . unescapeURL . untokenize <$>
1022+ bracedUrl)
1023+ , ("nolinkurl", code . unescapeURL . untokenize <$> bracedUrl)
1024+ , ("href", do url <- bracedUrl
1025+ sp
1026+ link (unescapeURL $ untokenize url) "" <$> tok)
10281027 , ("includegraphics", do options <- option [] keyvals
1029− src <- unescapeURL . removeDoubleQuotes . untokenize <$> braced
1030− mkImage options src)
1028+ src <- braced
1029+ mkImage options . unescapeURL . removeDoubleQuotes $
1030+ untokenize src)
10311031 , ("enquote*", enquote True Nothing)
10321032 , ("enquote", enquote False Nothing)
10331033 -- foreignquote is supposed to use native quote marks