Skip to content

Commit

Permalink
chore: Unbalanced trace stack in Djot conditionals generates warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Omikhleia authored and Didier Willis committed Feb 11, 2024
1 parent 774122f commit 6707e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inputters/djot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ function Renderer:render_children (node)
end
for i=1, #node.c do
local child = node.c[i]
local pId = SILE.traceStack:pushFrame(djotFrame(child))
if self:matchConditions(child) then
local pId = SILE.traceStack:pushFrame(djotFrame(child))
local content = self[child.t](self, child)
-- Simplify outputs by collating strings
if type(content) == "string" and type(out[#out]) == "string" then
Expand Down

0 comments on commit 6707e98

Please sign in to comment.