diff options
Diffstat (limited to 'support/make4ht/domfilters/make4ht-mathmlfixes.lua')
-rw-r--r-- | support/make4ht/domfilters/make4ht-mathmlfixes.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/make4ht/domfilters/make4ht-mathmlfixes.lua b/support/make4ht/domfilters/make4ht-mathmlfixes.lua index a52b0e5d6b..3e044b9445 100644 --- a/support/make4ht/domfilters/make4ht-mathmlfixes.lua +++ b/support/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 |