summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-25 16:30:44 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-11-25 16:30:44 (GMT)
commit9554e641af877ee08eeae9adae4acf4d8b1d198d (patch)
tree0919a30bb97db2aae16f8f07d9b157f9c5057856
parent69460da0a67c76f508bf4c32d14ce00304cdfd98 (diff)
downloadQt-9554e641af877ee08eeae9adae4acf4d8b1d198d.zip
Qt-9554e641af877ee08eeae9adae4acf4d8b1d198d.tar.gz
Qt-9554e641af877ee08eeae9adae4acf4d8b1d198d.tar.bz2
the definition needs xml escaping, too
-rw-r--r--tools/linguist/shared/qph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/linguist/shared/qph.cpp b/tools/linguist/shared/qph.cpp
index 24148fd..fb4fee9 100644
--- a/tools/linguist/shared/qph.cpp
+++ b/tools/linguist/shared/qph.cpp
@@ -167,7 +167,7 @@ static bool saveQPH(const Translator &translator, QIODevice &dev, ConversionData
t << " <target>" << protect(str)
<< "</target>\n";
if (!msg.comment().isEmpty())
- t << " <definition>" << msg.comment() << "</definition>\n";
+ t << " <definition>" << protect(msg.comment()) << "</definition>\n";
t << "</phrase>\n";
}
t << "</QPH>\n";