diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-25 16:30:44 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-11-25 16:30:44 (GMT) |
commit | 9554e641af877ee08eeae9adae4acf4d8b1d198d (patch) | |
tree | 0919a30bb97db2aae16f8f07d9b157f9c5057856 /tools | |
parent | 69460da0a67c76f508bf4c32d14ce00304cdfd98 (diff) | |
download | Qt-9554e641af877ee08eeae9adae4acf4d8b1d198d.zip Qt-9554e641af877ee08eeae9adae4acf4d8b1d198d.tar.gz Qt-9554e641af877ee08eeae9adae4acf4d8b1d198d.tar.bz2 |
the definition needs xml escaping, too
Diffstat (limited to 'tools')
-rw-r--r-- | tools/linguist/shared/qph.cpp | 2 |
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"; |