Fix wrong local

This commit is contained in:
Marcel Fabian Krüger 2021-05-27 14:45:31 +02:00
parent 1961c2445c
commit 207ea33a4e

View File

@ -193,10 +193,11 @@ local function kernel_to_table(kernel, cur_style)
return result, result return result, result
end end
elseif id == sub_box_t then elseif id == sub_box_t then
local result
if kernel.list.id == hlist_t then -- We directly give up for vlists if kernel.list.id == hlist_t then -- We directly give up for vlists
local result = to_text(kernel.list.head) result = to_text(kernel.list.head)
else else
local result = {[0] = 'mi', {[0] = 'mglyph', ['tex:box'] = kernel.list, [':node'] = kernel}} result = {[0] = 'mi', {[0] = 'mglyph', ['tex:box'] = kernel.list, [':node'] = kernel}}
end end
if mathml_filter then if mathml_filter then
return mathml_filter(result, result) return mathml_filter(result, result)