aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Lua/PandocModule.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Lua/PandocModule.hs b/src/Text/Pandoc/Lua/PandocModule.hs
index f27d6f45e..a54e54c09 100644
--- a/src/Text/Pandoc/Lua/PandocModule.hs
+++ b/src/Text/Pandoc/Lua/PandocModule.hs
@@ -163,8 +163,8 @@ fetch commonState mbRef src = do
putCommonState commonState
setMediaBag mediaBag
fetchItem src
- Lua.push bs
Lua.push $ fromMaybe "" mimeType
+ Lua.push bs
return 2 -- returns 2 values: contents, mimetype
--