summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/make4ht/formats/make4ht-html5.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-06 23:34:03 +0000
committerKarl Berry <karl@freefriends.org>2019-11-06 23:34:03 +0000
commitaf84b9db7fece90caa80d73b8faa9de75dd9e568 (patch)
tree745ebd7a73950d0e7099c47a66b6b3deefb2f4bd /Master/texmf-dist/scripts/make4ht/formats/make4ht-html5.lua
parent73e3f7c059fcd8089c33c01b6034e5ad3c9d50d6 (diff)
make4ht (5nov19)
git-svn-id: svn://tug.org/texlive/trunk@52666 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/make4ht/formats/make4ht-html5.lua')
-rw-r--r--Master/texmf-dist/scripts/make4ht/formats/make4ht-html5.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/make4ht/formats/make4ht-html5.lua b/Master/texmf-dist/scripts/make4ht/formats/make4ht-html5.lua
new file mode 100644
index 00000000000..633a45e7f34
--- /dev/null
+++ b/Master/texmf-dist/scripts/make4ht/formats/make4ht-html5.lua
@@ -0,0 +1,17 @@
+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)
+end
+
+function M.prepare_parameters(parameters,extensions)
+ parameters.tex4ht_sty_par = parameters.tex4ht_sty_par .. ",html5"
+ parameters = mkutils.extensions_prepare_parameters(extensions,parameters)
+ return parameters
+end
+
+
+return M