diff options
Diffstat (limited to 'macros/luatex/generic/luaxml/luaxml-domobject.lua')
-rw-r--r-- | macros/luatex/generic/luaxml/luaxml-domobject.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/luatex/generic/luaxml/luaxml-domobject.lua b/macros/luatex/generic/luaxml/luaxml-domobject.lua index a410885e04..64daa88364 100644 --- a/macros/luatex/generic/luaxml/luaxml-domobject.lua +++ b/macros/luatex/generic/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 |