From 2def68e11b634b29f220cab6ecc78aa23d5f591c Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 4 Apr 2012 18:27:24 +0200 Subject: qmake vcxproj generator: properly escape XML attributes Task-number: QTBUG-24954 Change-Id: I21299440ba3f268c2fa1e14d37003cdc3e6a35ad Reviewed-by: Oswald Buddenhagen (cherry picked from commit 0174c966f734ba48d387257a14447e8b56d85d37) --- qmake/generators/xmloutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmake/generators/xmloutput.cpp b/qmake/generators/xmloutput.cpp index 1b39f38..c752234 100644 --- a/qmake/generators/xmloutput.cpp +++ b/qmake/generators/xmloutput.cpp @@ -179,7 +179,7 @@ XmlOutput& XmlOutput::operator<<(const xml_output& o) break; case tTagValue: addRaw(QString("\n%1<%2>").arg(currentIndent).arg(o.xo_text)); - addRaw(QString("%1").arg(o.xo_value)); + addRaw(doConversion(o.xo_value)); addRaw(QString("").arg(o.xo_text)); break; case tValueTag: -- cgit v0.12