Skip to content

Commit

Permalink
fix(inputters): Correct Lua inputter AST expectations to match others
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 6, 2022
1 parent ae23748 commit 6177b0b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inputters/lua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ function inputter:process (doc)
SILE.process(tree)
elseif type(tree) == "table" then
if not tree.type then
tree = { tree }
-- hoping tree is an AST
self:requireClass(tree)
return SILE.process(tree)
Expand Down

0 comments on commit 6177b0b

Please sign in to comment.