[Pidgin] #277: Get rid of Kopete's newlines in Jabber

Pidgin trac at pidgin.im
Tue Apr 24 07:56:03 EDT 2007


#277: Get rid of Kopete's newlines in Jabber
-------------------------------------------------------+--------------------
 Reporter:  yogarine                                   |       Type:  defect
   Status:  new                                        |   Priority:  minor 
Component:  pidgin (gtk)                               |    Version:  2.0   
 Keywords:  jabber, newlines, kopete, xhtml, JEP-0071  |  
-------------------------------------------------------+--------------------
 Since v0.12 Kopete now sends Jabber messages in XHTML form, to support
 rich text as per JEP-0071. Since Pidgin's Jabber plugin doesnt support
 XHTML properly yet, the extra tags appear as newlines, causing any Gaim
 user receiving messages from Kopete to see 3 newlines at the start and 3
 newlines at the end of every message. (Very annoying, I can tell you.)

 Gaim should either have complete support for these XHTML messages, or at
 least handle them in a way that doesn't create these newlines.

 Here's an example of the message Kopete sends:
 <message from="user at server/Kopete" type="chat" id="aae4a" to="user at
 server/Pidgin" >
 <body>test</body>
 <html xmlns="http://jabber.org/protocol/xhtml-im">
 <body xmlns="http://www.w3.org/1999/xhtml" style="font-family: Bitstream
 Vera Sans; font-weight: bold;" >
 <span style="font-weight:400" >test</span>
 </body>
 </html>
 <x xmlns="jabber:x:event">
 <offline/>
 <composing/>
 <delivered/>
 <displayed/>
 </x>
 </message>

 For more information check this Kopete bugreport:
 http://bugs.kde.org/show_bug.cgi?id=121627

-- 
Ticket URL: <http://developer.pidgin.im/ticket/277>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list