aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/format/xml.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-12-11 22:40:31 -0400
committerEduardo Julian2020-12-11 22:40:31 -0400
commitdff517cbdb9a1c80028782c62ad91c71ddb34909 (patch)
treef69b4005e8b6dc9699a410554ce4571f60d9e0ee /stdlib/source/lux/data/format/xml.lux
parent9af671a34728b35c48bff2ba163c371dc5084946 (diff)
Improved parsing speed for Lux code.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/data/format/xml.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/data/format/xml.lux b/stdlib/source/lux/data/format/xml.lux
index 559782b1d..13f272c4b 100644
--- a/stdlib/source/lux/data/format/xml.lux
+++ b/stdlib/source/lux/data/format/xml.lux
@@ -154,7 +154,7 @@
(def: text^
(Parser XML)
(|> (<>.either cdata^
- (<text>.many xml-char^))
+ (..spaced^ (<text>.many xml-char^)))
(<>\map (|>> #Text))))
(def: xml^