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

List:       kde-commits
Subject:    kdepim/plugins/kmail/bodypartformatter
From:       Till Adam <adam () kde ! org>
Date:       2004-08-15 18:10:19
Message-ID: 20040815181019.7F03C9A84 () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Quote strings that are used in html.


  M +2 -1      text_xdiff.cpp   1.2


--- kdepim/plugins/kmail/bodypartformatter/text_xdiff.cpp  #1.1:1.2
@@ -51,4 +51,5 @@
 #include <qfile.h>
 #include <qdir.h>
+#include <qstylesheet.h>
 
 namespace {
@@ -94,5 +95,5 @@ namespace {
       QStringList lines = QStringList::split( '\n', diff, true );
       for ( QStringList::Iterator it = lines.begin(); it != lines.end(); ++it ) {
-        QString line( *it );
+        QString line( QStyleSheet::escape( *it ) );
         QString style;
         if ( line.length() > 0 ) {


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

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