Bug 227015 - In OTR ode Kopete sends html
Summary: In OTR ode Kopete sends html
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 16:22 UTC by christian.lange
Modified: 2010-02-25 22:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description christian.lange 2010-02-15 16:22:09 UTC
Version:           1.0.0 (using KDE 4.4.0)
Compiler:          gcc 4.3.4 
OS:                Linux
Installed from:    Gentoo Packages

When I have a OTR session kopete sends the message as html also. Many clients do not support html and so the messages are hard to read
Comment 1 maffin 2010-02-18 19:07:41 UTC
I've tested this with the same kopete-version (1.0.0, KDE 4.4.0, gcc 4.3.4 and also on gentoo) and can confirm this behaviour at least in combination with mirandaIM (0.8.14 on win7).

Every line is encapsulated with <p>-tags and hyperlinks are also plaintext-html instead of clickable (i.e. <a href="url" title="url">url</a>).
Comment 2 Michael Zanetti 2010-02-21 22:26:56 UTC
SVN commit 1093999 by mzanetti:

dont use parsedBody before encrypting

BUG: 227015



 M  +3 -3      otrplugin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1093999
Comment 3 Michael Zanetti 2010-02-21 22:32:13 UTC
SVN commit 1094001 by mzanetti:

backport bugfix

CCBUG: 227015



 M  +3 -3      otrplugin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1094001
Comment 4 maffin 2010-02-25 22:47:57 UTC
Thx for the fast response.
I tested the backported patch and urls are indeed displayed as it should without the <a>-tag.

But every line is still shown in <p>-tags as stated in comment #1.
Could someone please so kind and verify this?