aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-05-21 09:51:14 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-05-21 09:51:14 -0700
commit858a28941d0dd17c24b7240f21372652111bd38b (patch)
treec7cb9ea9f6f6da09fe419f3944f0ac7a7cf47a58
parent84a8994886d406eabb9780c207551561fd8816b8 (diff)
make_spec.lua: Fix unqualified calls to node_append_child.
-rw-r--r--tools/make_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/make_spec.lua b/tools/make_spec.lua
index c247142..f4cc869 100644
--- a/tools/make_spec.lua
+++ b/tools/make_spec.lua
@@ -171,8 +171,8 @@ local create_anchors = function(doc, meta, to)
{'class', 'definition'}})
if num ~= '' then
local numspan = make_html_inline('span', {{'class','number'}})
- node_append_child(numspan, make_text(num))
- node_append_child(anchor, numspan)
+ cmark.node_append_child(numspan, make_text(num))
+ cmark.node_append_child(anchor, numspan)
end
end
end
@@ -183,7 +183,7 @@ local create_anchors = function(doc, meta, to)
child = cmark.node_next(child)
end
for _,child in ipairs(children) do
- node_append_child(anchor, child)
+ cmark.node_append_child(anchor, child)
end
cmark.node_insert_before(cur, anchor)
cmark.node_unlink(cur)