summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/buff-imp-parsed-xml.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/buff-imp-parsed-xml.lua')
-rw-r--r--tex/context/base/mkiv/buff-imp-parsed-xml.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/buff-imp-parsed-xml.lua b/tex/context/base/mkiv/buff-imp-parsed-xml.lua
index 22611ac8a..b18fb65aa 100644
--- a/tex/context/base/mkiv/buff-imp-parsed-xml.lua
+++ b/tex/context/base/mkiv/buff-imp-parsed-xml.lua
@@ -92,7 +92,7 @@ local function parsedxml(root,pattern)
end
local function parser(str,settings)
- parsedxml(xml.convert(str),settings and settings.pattern)
+ parsedxml(xml.convert(string.strip(str)),settings and settings.pattern)
end
visualizers.parsedxml = parsedxml -- for use at the lua end (maybe namespace needed)