From cae0b3182e536fcb47ec71038f37274986120327 Mon Sep 17 00:00:00 2001 From: Carlos Scheidegger Date: Mon, 2 Oct 2023 08:14:33 -0700 Subject: [PATCH] rename table->key per comment in #7083 --- src/resources/filters/ast/customnodes.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resources/filters/ast/customnodes.lua b/src/resources/filters/ast/customnodes.lua index b802de0577..d845e55769 100644 --- a/src/resources/filters/ast/customnodes.lua +++ b/src/resources/filters/ast/customnodes.lua @@ -417,9 +417,9 @@ _quarto.ast = { -- find handler by name in given table, or in the by_ast_name table if no table -- is specified. - resolve_handler = function(name, table) + resolve_handler = function(name, key) local state = quarto_global_state.extended_ast_handlers - local handlers = state.handlers[table or 'by_ast_name'] + local handlers = state.handlers[key or 'by_ast_name'] if handlers ~= nil then return handlers[name] end