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

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/aim
From:       Matt Rogers <mattr () kde ! org>
Date:       2007-06-08 19:44:48
Message-ID: 1181331888.901688.15563.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 673027 by mattr:

fix bug 146380 by removing the last <br> tag from the message before sending

Based on a patch by Guillermo A. Amaral. Thanks for the patch!
The fix should appear in KDE 3.5.8 when/if that is released.

BUG: 146380
CCMAIL: me@guillermoamaral.com



 M  +3 -0      aimcontact.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/aim/aimcontact.cpp #673026:673027
@@ -440,6 +440,9 @@
 
 	s.replace ( QRegExp ( QString::fromLatin1("<br[ /]*>")), QString::fromLatin1("<br>") );
 
+	// strip left over line break
+	s.remove( QRegExp( QString::fromLatin1( "<br>$" ) ) );
+
 	kdDebug(14190) << k_funcinfo << "sending "
 		<< s << endl;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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