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 ba3193211..4df01f019 100644
--- a/src/Text/Pandoc/Lua/PandocModule.hs
+++ b/src/Text/Pandoc/Lua/PandocModule.hs
@@ -91,7 +91,7 @@ loadListModule :: Maybe FilePath -> Lua ()
loadListModule datadir = do
Lua.getglobal' "package.loaded"
pushListModule datadir
- Lua.setfield (-2) "List"
+ Lua.setfield (-2) "pandoc.List"
Lua.pop 1
walkElement :: (ToLuaStack a, Walkable [Inline] a, Walkable [Block] a)