Fix custom writer regression
An additional `Lua.call` was left in during refactoring, which caused an exception "attempt to call a nil value". Fixes: #4202
This commit is contained in:
parent
47455715d3
commit
7e8cfc0990
1 changed files with 1 additions and 2 deletions
|
@ -102,8 +102,7 @@ writeCustom luaFile opts doc@(Pandoc meta _) = do
|
|||
-- to handle this more gracefully):
|
||||
when (stat /= OK) $
|
||||
tostring 1 >>= throw . PandocLuaException . UTF8.toString
|
||||
call 0 0
|
||||
-- TODO - call hierarchicalize, so we have that info
|
||||
-- TODO - call hierarchicalize, so we have that info
|
||||
rendered <- docToCustom opts doc
|
||||
context <- metaToJSON opts
|
||||
blockListToCustom
|
||||
|
|
Loading…
Reference in a new issue