diff options
Diffstat (limited to 'Master/texmf-dist/scripts/make4ht/domfilters/make4ht-mathmlfixes.lua')
-rw-r--r-- | Master/texmf-dist/scripts/make4ht/domfilters/make4ht-mathmlfixes.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/make4ht/domfilters/make4ht-mathmlfixes.lua b/Master/texmf-dist/scripts/make4ht/domfilters/make4ht-mathmlfixes.lua index a52b0e5d6b1..3e044b94453 100644 --- a/Master/texmf-dist/scripts/make4ht/domfilters/make4ht-mathmlfixes.lua +++ b/Master/texmf-dist/scripts/make4ht/domfilters/make4ht-mathmlfixes.lua @@ -28,6 +28,7 @@ local function fix_nested_mstyle(el) -- if parent doesn't have the mathvariant attribute copy it from <mstyle> if not parent:get_attribute("mathvariant") then local mathvariant = el:get_attribute("mathvariant") + parent._attr = parent._attr or {} parent:set_attribute("mathvariant", mathvariant) end -- copy the contents of <mstyle> to the parent element |