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:48:54 +01:00
parent cd2bffee1e
commit c90802d7d8
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

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"