mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-28 10:25:41 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user