diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-07 21:56:26 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-07 21:56:26 +0000 |
commit | f815711d039485259835e246103d3e7f8f3d7203 (patch) | |
tree | 580513845904e84dd64dd9f5504bb01f8f941421 /kopete/protocols/oscar/aim/aimcontact.cpp | |
parent | 08d46ebbbb283714e3d0a327442a93e283592c7d (diff) | |
download | tdenetwork-f815711d039485259835e246103d3e7f8f3d7203.tar.gz tdenetwork-f815711d039485259835e246103d3e7f8f3d7203.zip |
* Batch 1/2 of kdemultimedia bugfix patches from the Chakra project
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1172709 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/aim/aimcontact.cpp')
-rw-r--r-- | kopete/protocols/oscar/aim/aimcontact.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kopete/protocols/oscar/aim/aimcontact.cpp b/kopete/protocols/oscar/aim/aimcontact.cpp index fc55537d..b32a5305 100644 --- a/kopete/protocols/oscar/aim/aimcontact.cpp +++ b/kopete/protocols/oscar/aim/aimcontact.cpp @@ -438,6 +438,9 @@ void AIMContact::slotSendMsg(Kopete::Message& message, Kopete::ChatSession *) //30- (and any I missed) are size 7 s.replace ( TQRegExp ( TQString::fromLatin1("<font ptsize=\"[^\"]*\">")),TQString::fromLatin1("<font size=\"7\">")); + // strip left over line break + s.remove(TQRegExp(TQString::fromLatin1("<br\b[^>]*>$"))); + s.replace ( TQRegExp ( TQString::fromLatin1("<br[ /]*>")), TQString::fromLatin1("<br>") ); // strip left over line break |