diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/xml/XmlOutput.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/xml/XmlOutput.cpp b/src/plugins/xml/XmlOutput.cpp index 5713f29..fc86350 100644 --- a/src/plugins/xml/XmlOutput.cpp +++ b/src/plugins/xml/XmlOutput.cpp @@ -258,6 +258,9 @@ static Rooted<Element> transformTokenDescriptor(Handle<Element> parent, token = Rooted<Text>{new Text(P.mgr, tag, descr.token)}; } tag->addChild(token); + if (!descr.greedy) { + tag->getAttributes()["greedy"] = "false"; + } return tag; } |