Skip to content

Commit

Permalink
Updated XMLPrinter to escape operator= value.
Browse files Browse the repository at this point in the history
  • Loading branch information
workhorsy committed Mar 23, 2014
1 parent efaf144 commit 5689fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astprinter.d
Expand Up @@ -133,7 +133,7 @@ class XMLPrinter : ASTVisitor
output.writeln("<assignExpression>");
else
output.writeln("<assignExpression operator=\"",
str(assignExpression.operator), "\">");
xmlEscape(str(assignExpression.operator)), "\">");
assignExpression.accept(this);
output.writeln("</assignExpression>");
}
Expand Down

0 comments on commit 5689fe4

Please sign in to comment.