[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KOFFICE_1_3_BRANCH: koffice/tools/thesaurus
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-01-01 15:20:24
Message-ID: 20040101152024.352A193EA () office ! kde ! org
[Download RAW message or body]

CVS commit by goutte: 

Escape & for XML too
(Backport)
CCMAIL:koffice-devel@kde.org


  M +2 -1      main.cc   1.40.2.1


--- koffice/tools/thesaurus/main.cc  #1.40:1.40.2.1
@@ -681,4 +681,5 @@ void Thesaurus::wnExited(KProcess *)
             }
             // Escape XML:
+            l = l.replace('&', "&amp;");
             l = l.replace(QRegExp("<"), "&lt;");
             l = l.replace(QRegExp(">"), "&gt;");


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic