summaryrefslogtreecommitdiff
path: root/data/pandoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'data/pandoc.lua')
-rw-r--r--data/pandoc.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/pandoc.lua b/data/pandoc.lua
index b2e8f9edb..c5e20045c 100644
--- a/data/pandoc.lua
+++ b/data/pandoc.lua
@@ -315,7 +315,8 @@ M.Null = M.Block:create_constructor(
M.OrderedList = M.Block:create_constructor(
"OrderedList",
function(items, listAttributes)
- return {c = {listAttributes,items}}
+ listAttributes = listAttributes or {1, M.DefaultStyle, M.DefaultDelim}
+ return {c = {listAttributes, items}}
end,
{{"start", "style", "delimiter"}, "content"}
)