diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-05-25 11:48:47 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-05-25 11:48:47 +0200 |
commit | 8b678f473da7b81842dbc13b50c6303991570521 (patch) | |
tree | 53bc0e1c76c99a32011118c8941bab7b6e9b91df /tex/context/base/mkiv/buff-imp-xml.lua | |
parent | caee9d5ac3c65f78671a9786318358cd647247eb (diff) | |
download | context-8b678f473da7b81842dbc13b50c6303991570521.tar.gz |
2019-05-25 10:53:00
Diffstat (limited to 'tex/context/base/mkiv/buff-imp-xml.lua')
-rw-r--r-- | tex/context/base/mkiv/buff-imp-xml.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/buff-imp-xml.lua b/tex/context/base/mkiv/buff-imp-xml.lua index 7bac868d7..b7fa85818 100644 --- a/tex/context/base/mkiv/buff-imp-xml.lua +++ b/tex/context/base/mkiv/buff-imp-xml.lua @@ -59,11 +59,11 @@ local closecdata = P("]]>") local grammar = visualizers.newgrammar("default", { "visualizer", sstring = makepattern(handler,"string",patterns.dquote) - * (V("whitespace") + makepattern(handler,"default",1-patterns.dquote))^0 + * (V("whitespace") + makepattern(handler,"default",(1-patterns.dquote)^0)) * makepattern(handler,"string",patterns.dquote), dstring = makepattern(handler,"string",patterns.squote) - * (V("whitespace") + makepattern(handler,"default",1-patterns.squote))^0 + * (V("whitespace") + makepattern(handler,"default",(1-patterns.squote)^0)) * makepattern(handler,"string",patterns.squote), entity = makepattern(handler,"entity",entity), |