@@ -860,8 +860,8 @@ linkTarget = enclosed (char '[') (char ']') (noneOf "\n\r]")
860860isImageFilename :: String -> Bool
861861isImageFilename filename =
862862 any (\x -> ('.':x) `isSuffixOf` filename) imageExtensions &&
863− any (\x -> (x++":") `isPrefixOf` filename) protocols ||
864− ':' `notElem` filename
863+ (any (\x -> (x++":") `isPrefixOf` filename) protocols ||
864+ ':' `notElem` filename)
865865 where
866866 imageExtensions = [ "jpeg" , "jpg" , "png" , "gif" , "svg" ]
867867 protocols = [ "file", "http", "https" ]