Bug 247005 - OTR plugins strips all formatting (HTML-tags) from messages
Summary: OTR plugins strips all formatting (HTML-tags) from messages
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: OTR Plugin (show other bugs)
Version: 1.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-07 18:31 UTC by meyerm
Modified: 2010-11-23 12:37 UTC (History)
2 users (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 meyerm 2010-08-07 18:31:29 UTC
Version:           1.0.0 (using KDE 4.4.5) 
OS:                Linux

Whenever the OTR-plugin is loaded, all formatting is stripped from the messages before beeing displayed locally. Since I don't use colors etc. it mainly affects newlines and sometimes tags beeing sent manually (to show sth.). My newlines are correctly sent and displayed on the other end with pidgin. Only receiving doesn't work. It makes reading a message with newlines as formatting element quite hard.

Reproducible: Always

Steps to Reproduce:
Load OTR-plugin.
Send sth. with a newline in it.

Actual Results:  
Everything in one line.

Expected Results:  
Each line beeing displayed on its own.

OS: Linux (x86_64) release 2.6.34-gentoo-r1
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Thomas Damgaard 2010-11-23 11:42:41 UTC
I can comfirm this bug. It is extremely annoying. 

Please tell me how I can help debug or fix this.
Comment 2 meyerm 2010-11-23 12:26:47 UTC
I'm sorry for not beeing helpful for 4.4. But at least in KDE 4.5 it seems to be fixed.
Comment 3 Christian Iversen 2010-11-23 12:37:14 UTC
For people still using 4.4, you can use this trivial patch to fix the problem:

http://websvn.kde.org/branches/KDE/4.4/kdenetwork/kopete/plugins/otr/otrplugin.cpp?r1=1117326&r2=1117354

Another solution seems to be more flexible:

http://bugsfiles.kde.org/attachment.cgi?id=43379

(but I have not tried this)

There's a longer discussion here:

https://bugs.kde.org/show_bug.cgi?id=233330