summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua b/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua
index a410885e04c..64daa88364f 100644
--- a/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua
+++ b/Master/texmf-dist/tex/luatex/luaxml/luaxml-domobject.lua
@@ -140,6 +140,7 @@ local parse = function(
local DOM_Object = xml.xmlParser(domHandler)
-- preserve whitespace
DOM_Object.options.stripWS = nil
+ DOM_Object._handler.options.voidElements = void
DOM_Object:parse(xmltext)
DOM_Object.current = DOM_Object._handler.root
DOM_Object.__index = DOM_Object