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

List:       koffice-devel
Subject:    Re: KOFFICE_1_3_BRANCH: koffice/tools/thesaurus
From:       Jens Bäckman <jens.backman () thoreb ! se>
Date:       2004-01-04 10:16:54
Message-ID: 3FF7E816.6030705 () thoreb ! se
[Download RAW message or body]

> --- 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;");

Isn't this wrong? After all, this would replace "&amplt;" with "<", 
while it should be "&lt;".
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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