diff options
Diffstat (limited to 'tex/context/base/mkiv/lxml-xml.lua')
-rw-r--r-- | tex/context/base/mkiv/lxml-xml.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/lxml-xml.lua b/tex/context/base/mkiv/lxml-xml.lua index 6ec353310..62564337c 100644 --- a/tex/context/base/mkiv/lxml-xml.lua +++ b/tex/context/base/mkiv/lxml-xml.lua @@ -162,6 +162,10 @@ local function xmltotext(root) end end +function xml.serializetotext(root) + return root and xmlserialize(root,xmltexthandler) or "" +end + -- local function text(collected) -- hybrid |