summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App.hs
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2017-12-21 10:22:58 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2017-12-21 10:22:58 -0500
commit3c8f0269f9be633453ecdde8771c7d0bee87691a (patch)
treefa5b321c2fe8b703261976fa04b96b941bfacb77 /src/Text/Pandoc/App.hs
parentd035689a0646261d7a4731e39bce7dbf85187773 (diff)
Add pptx to isTextFormat list
This is used to check standalone and not writing to the terminal.
Diffstat (limited to 'src/Text/Pandoc/App.hs')
-rw-r--r--src/Text/Pandoc/App.hs2
1 files changed, 1 insertions, 1 deletions
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