Bug 227015

Summary: In OTR ode Kopete sends html
Product: [Unmaintained] kopete Reporter: christian.lange
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: msjtr
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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?