aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Lua/Module/Pandoc.hs3
-rw-r--r--test/lua/module/pandoc-utils.lua6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/Text/Pandoc/Lua/Module/Pandoc.hs b/src/Text/Pandoc/Lua/Module/Pandoc.hs
index ac159ae0d..20c2f5af5 100644
--- a/src/Text/Pandoc/Lua/Module/Pandoc.hs
+++ b/src/Text/Pandoc/Lua/Module/Pandoc.hs
@@ -116,6 +116,9 @@ otherConstructors =
, mkBlocks
, mkCitation
, mkCell
+ , mkRow
+ , mkTableHead
+ , mkTableFoot
, mkInlines
, mkListAttributes
, mkSimpleTable
diff --git a/test/lua/module/pandoc-utils.lua b/test/lua/module/pandoc-utils.lua
index 9bd903f2d..0c3831bb1 100644
--- a/test/lua/module/pandoc-utils.lua
+++ b/test/lua/module/pandoc-utils.lua
@@ -106,14 +106,14 @@ return {
{long = {pandoc.Plain {
pandoc.Str "the", pandoc.Space(), pandoc.Str "caption"}}},
{{pandoc.AlignDefault, nil}},
- {pandoc.Attr(), {{pandoc.Attr(), {simple_cell{pandoc.Plain "head1"}}}}},
+ pandoc.TableHead{pandoc.Row{simple_cell{pandoc.Plain "head1"}}},
{{
attr = pandoc.Attr(),
- body = {{pandoc.Attr(), {simple_cell{pandoc.Plain "cell1"}}}},
+ body = {pandoc.Row{simple_cell{pandoc.Plain "cell1"}}},
head = {},
row_head_columns = 0
}},
- {pandoc.Attr(), {}},
+ pandoc.TableFoot(),
pandoc.Attr()
)
local stbl = utils.to_simple_table(tbl)