summaryrefslogtreecommitdiff
path: root/support/make4ht/formats/make4ht-odt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'support/make4ht/formats/make4ht-odt.lua')
-rw-r--r--support/make4ht/formats/make4ht-odt.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/make4ht/formats/make4ht-odt.lua b/support/make4ht/formats/make4ht-odt.lua
index c515a154a1..30fdc0744d 100644
--- a/support/make4ht/formats/make4ht-odt.lua
+++ b/support/make4ht/formats/make4ht-odt.lua
@@ -136,6 +136,9 @@ function M.modify_build(make)
-- fix the image dimensions wrongly set by xtpipes
local domfilters = domfilter {"t4htlinks", "odtpartable"}
make:match("4oo$", domfilters)
+ -- fixes for mathml
+ local mathmldomfilters = domfilter {"joincharacters","mathmlfixes"}
+ make:match("4om$", mathmldomfilters)
-- execute it before xtpipes, because we don't want xtpipes to mess with t4htlink elements
move_matches(make)
-- convert XML entities for Unicode characters produced by Xtpipes to characters