aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-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 ac6afa5f1..093f0fcfc 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -381,7 +381,7 @@ convertWithOpts opts = do
"" -> tp <.> format
_ -> tp
Just . UTF8.toString <$>
- (readFileStrict tp' `catchError`
+ ((fst <$> fetchItem tp') `catchError`
(\e ->
case e of
PandocIOError _ e' |