Org reader: Added type signature.
commitf2deb9d86d864c79c5ca18205b4ca565b7199413
authorJohn MacFarlane <fiddlosopher@gmail.com>
dateSat 5 Apr 2014, 15:50 (13 years ago)
parente35ebd3
src/Text/Pandoc/Readers/Org.hs+1
@@ -613,6 +613,7 @@ endsOnThisLine input c doOnOtherLines = do
613613 else endsOnThisLine rest c doOnOtherLines
614614 _ -> mzero
615615
616+isImage :: String -> Bool
616617isImage filename =
617618 any (\x -> ('.':x) `isSuffixOf` filename) imageExtensions &&
618619 any (\x -> (x++":") `isPrefixOf` filename) protocols ||