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:
parent
cd2bffee1e
commit
c90802d7d8
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue