@@ -96,7 +96,9 @@ isTextFormat s = takeWhile (`notElem` "+-") s `notElem` ["odt","docx","epub","ep
97externalFilter :: FilePath -> [String] -> Pandoc -> IO Pandoc
97externalFilter :: FilePath -> [String] -> Pandoc -> IO Pandoc
98externalFilter f args' d = do
98externalFilter f args' d = do
99+ mbexe <- if '/' `elem` f -- don't check PATH if filter name it has a path
99− mbexe <- findExecutable f
101+ else findExecutable f
100 (f', args'') <- case mbexe of
102 (f', args'') <- case mbexe of
101 Just x -> return (x, args')
103 Just x -> return (x, args')
102 Nothing -> do
104 Nothing -> do