aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2017-12-01 17:12:56 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2017-12-01 17:12:56 +0100
commit8473a151c5685f8ceb515abf6000ab4fb7a3911c (patch)
tree0c9fe0651e83d5e35f5b0e966174780d4f117b4f /src/Text/Pandoc
parent171187a4527497701b3c77bd56cea2d770d4e3b0 (diff)
downloadpandoc-8473a151c5685f8ceb515abf6000ab4fb7a3911c.tar.gz
List.lua: add missing fixes as discussed in #4099
The changes were missing due to an error while using git.
Diffstat (limited to 'src/Text/Pandoc')
-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)