From 87e67e0807de56f8b75f88fdf54cce6c7675e40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Sun, 30 May 2021 03:45:14 +0200 Subject: [PATCH] Fix typo --- luamml-convert.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luamml-convert.lua b/luamml-convert.lua index bea7eca..b59b58f 100644 --- a/luamml-convert.lua +++ b/luamml-convert.lua @@ -251,7 +251,7 @@ local function noad_to_table(noad, sub, cur_style, mn) if sub == noad_ord then if core and core[0] == 'mo' then core[0] = 'mi' - core.mathvariant = #core == 1 and type(core[0]) == 'string' and utf8.len(core[0]) == 1 and utf8.codepoint(core[0]) < -0x10000 and 'normal' or nil + core.mathvariant = #core == 1 and type(core[1]) == 'string' and utf8.len(core[1]) == 1 and utf8.codepoint(core[1]) < 0x10000 and 'normal' or nil core['tex:class'], core.stretchy, core.lspace, core.rspace = nil end if nucleus == core and #core == 1 then