Lua: fix return types of blocks_to_inlines, make_sections

Ensures the returned lists have the correct type (`Inlines` and
`Blocks`, respectively).
This commit is contained in:
Albert Krewinkel
2021-12-21 09:53:44 +01:00
parent cd2bffee1e
commit c90802d7d8
+2 -2
View File
@@ -57,7 +57,7 @@ documentedModule = Module
"blocks" ""
<#> optionalParameter (peekList peekInline) "list of inlines"
"inline" ""
=#> functionResult (pushPandocList pushInline) "list of inlines" ""
=#> functionResult pushInlines "list of inlines" ""
, defun "equals"
### liftPure2 (==)
@@ -72,7 +72,7 @@ documentedModule = Module
"integer or nil" "baselevel" ""
<#> parameter (peekList peekBlock) "list of blocks"
"blocks" "document blocks to process"
=#> functionResult (pushPandocList pushBlock) "list of Blocks"
=#> functionResult pushBlocks "list of Blocks"
"processes blocks"
, defun "normalize_date"