diff options
Diffstat (limited to 'support/make4ht/formats')
-rw-r--r-- | support/make4ht/formats/make4ht-html5.lua | 3 | ||||
-rw-r--r-- | support/make4ht/formats/make4ht-odt.lua | 3 | ||||
-rw-r--r-- | support/make4ht/formats/make4ht-xhtml.lua | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/support/make4ht/formats/make4ht-html5.lua b/support/make4ht/formats/make4ht-html5.lua index 633a45e7f3..a70309fa7a 100644 --- a/support/make4ht/formats/make4ht-html5.lua +++ b/support/make4ht/formats/make4ht-html5.lua @@ -3,8 +3,7 @@ local M = {} local mkutils = require "mkutils" function M.prepare_extensions(extensions) - -- return mkutils.add_extensions("+common_domfilters", extensions) - return extensions --mkutils.add_extensions("+tidy", extensions) + return mkutils.add_extensions("+common_domfilters", extensions) end function M.prepare_parameters(parameters,extensions) 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 diff --git a/support/make4ht/formats/make4ht-xhtml.lua b/support/make4ht/formats/make4ht-xhtml.lua index 4a4ac6689c..25fb339c0f 100644 --- a/support/make4ht/formats/make4ht-xhtml.lua +++ b/support/make4ht/formats/make4ht-xhtml.lua @@ -3,8 +3,7 @@ local M = {} local mkutils = require "mkutils" function M.prepare_extensions(extensions) - -- return mkutils.add_extensions("+common_domfilters", extensions) - return extensions + return mkutils.add_extensions("+common_domfilters", extensions) end function M.prepare_parameters(parameters,extensions) |