From 858a28941d0dd17c24b7240f21372652111bd38b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 21 May 2020 09:51:14 -0700 Subject: make_spec.lua: Fix unqualified calls to node_append_child. --- tools/make_spec.lua | 6 +++--- 1 file 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) -- cgit v1.2.3