From 3c8f0269f9be633453ecdde8771c7d0bee87691a Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal Date: Thu, 21 Dec 2017 10:22:58 -0500 Subject: Add pptx to isTextFormat list This is used to check standalone and not writing to the terminal. --- src/Text/Pandoc/App.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs index e70b606a9..df4bdc151 100644 --- a/src/Text/Pandoc/App.hs +++ b/src/Text/Pandoc/App.hs @@ -538,7 +538,7 @@ convertWithOpts opts = do type Transform = Pandoc -> Pandoc isTextFormat :: String -> Bool -isTextFormat s = s `notElem` ["odt","docx","epub2","epub3","epub"] +isTextFormat s = s `notElem` ["odt","docx","epub2","epub3","epub","pptx"] externalFilter :: MonadIO m => ReaderOptions -> FilePath -> [String] -> Pandoc -> m Pandoc -- cgit v1.2.3