summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/buff-imp-xml.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/buff-imp-xml.lua')
-rw-r--r--Master/texmf-dist/tex/context/base/buff-imp-xml.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/base/buff-imp-xml.lua b/Master/texmf-dist/tex/context/base/buff-imp-xml.lua
index baf290d4ce7..0c48ed3b090 100644
--- a/Master/texmf-dist/tex/context/base/buff-imp-xml.lua
+++ b/Master/texmf-dist/tex/context/base/buff-imp-xml.lua
@@ -99,11 +99,11 @@ local grammar = visualizers.newgrammar("default", { "visualizer",
* makepattern(handler,"boundary",closeend),
comment =
makepattern(handler,"boundary",opencomment)
- * (V("whitespace") + makepattern(handler,"comment",(1-closecomment)))^0 -- slow
+ * (V("whitespace") + makepattern(handler,"comment",(1-closecomment)^1))^0 -- slow
* makepattern(handler,"boundary",closecomment),
cdata =
makepattern(handler,"boundary",opencdata)
- * (V("whitespace") + makepattern(handler,"comment",(1-closecdata)))^0 -- slow
+ * (V("whitespace") + makepattern(handler,"comment",(1-closecdata)^1))^0 -- slow
* makepattern(handler,"boundary",closecdata),
instruction =
makepattern(handler,"boundary",openinstruction)