summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/make4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-05-04 22:11:47 +0000
committerKarl Berry <karl@freefriends.org>2018-05-04 22:11:47 +0000
commit3044e3bca22e8ab481a4ee71439aa8a2b03a6eb4 (patch)
tree3e84e700959e80d7ab41b2e4417b6df902af8fcb /Master/texmf-dist/scripts/make4ht
parent8459cb2fd00d89b85367581797fb37063b09f705 (diff)
make4ht (4may18)
git-svn-id: svn://tug.org/texlive/trunk@47616 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/make4ht')
-rwxr-xr-xMaster/texmf-dist/scripts/make4ht/make4ht2
-rwxr-xr-xMaster/texmf-dist/scripts/make4ht/mkutils.lua6
2 files changed, 2 insertions, 6 deletions
diff --git a/Master/texmf-dist/scripts/make4ht/make4ht b/Master/texmf-dist/scripts/make4ht/make4ht
index 10b277d2a73..9f9caed2e95 100755
--- a/Master/texmf-dist/scripts/make4ht/make4ht
+++ b/Master/texmf-dist/scripts/make4ht/make4ht
@@ -27,7 +27,7 @@ make4ht [options] filename ["tex4ht.sty op." "tex4ht op." "t4ht op" "latex op"]
-- set version number. the template should be replaced by the
-- actual version number by the build script
-local version = "0.2a"
+local version = "v0.2b"
mkparams.version_number = version
local args = mkparams.get_args()
diff --git a/Master/texmf-dist/scripts/make4ht/mkutils.lua b/Master/texmf-dist/scripts/make4ht/mkutils.lua
index 7dab423bc9b..59da85bc74e 100755
--- a/Master/texmf-dist/scripts/make4ht/mkutils.lua
+++ b/Master/texmf-dist/scripts/make4ht/mkutils.lua
@@ -213,11 +213,7 @@ end
local function run(untrusted_code, env)
if untrusted_code:byte(1) == 27 then return nil, "binary bytecode prohibited" end
local untrusted_function = nil
- if not loadstring then
- untrusted_function, message = load(untrusted_code, nil, "t",env)
- else
- untrusted_function, message = loadstring(untrusted_code)
- end
+ untrusted_function, message = load(untrusted_code, nil, "t",env)
if not untrusted_function then return nil, message end
if not setfenv then setfenv = function(a,b) return true end end
setfenv(untrusted_function, env)