| Summary: | line breaks in AIM not sent correctly | ||
|---|---|---|---|
| Product: | [Unmaintained] kopete | Reporter: | Richard Homonnai <Chain> |
| Component: | ICQ and AIM Plugins | Assignee: | Kopete Developers <kopete-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | sent and received message | ||
|
Description
Richard Homonnai
2006-08-11 09:57:10 UTC
Created attachment 17337 [details]
sent and received message
this should describe the matter clearly
I have found something. At "normal" newlinkes coming from contacts, it looks like this: --- hi --- If you cannot see it (I can't in here, but in Kopete): it's 0x00. I would assume it is some bug which has to do with UTF-8 maybe? SVN commit 609808 by rjarosz: Fix bug 132247: Line breaks in AIM not sent correctly. AIM only recognises <BR> tag and not <BR />. BUG: 132247 M +2 -0 aimaccount.cpp M +2 -0 aimcontact.cpp --- branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/aim/aimaccount.cpp #609807:609808 @@ -173,6 +173,8 @@ //30- (and any I missed) are size 7 s.replace ( QRegExp ( QString::fromLatin1("<font ptsize=\"[^\"]*\">")),QString::fromLatin1("<font size=\"7\">")); + s.replace ( QRegExp ( QString::fromLatin1("<br[ /]*>")), QString::fromLatin1("<br>") ); + kdDebug(14190) << k_funcinfo << "sending " << s << endl; --- branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/aim/aimcontact.cpp #609807:609808 @@ -438,6 +438,8 @@ //30- (and any I missed) are size 7 s.replace ( QRegExp ( QString::fromLatin1("<font ptsize=\"[^\"]*\">")),QString::fromLatin1("<font size=\"7\">")); + s.replace ( QRegExp ( QString::fromLatin1("<br[ /]*>")), QString::fromLatin1("<br>") ); + kdDebug(14190) << k_funcinfo << "sending " << s << endl; |