Skip to content

Commit

Permalink
rename table->key per comment in #7083
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Oct 2, 2023
1 parent 4ec4ae3 commit cae0b31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/filters/ast/customnodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cae0b31

Please sign in to comment.