[Pidgin] #8738: XMPP: Only send XHTML if there is markup

Pidgin trac at pidgin.im
Mon Mar 30 13:33:42 EDT 2009


#8738: XMPP: Only send XHTML if there is markup
------------------------------------+---------------------------------------
 Reporter:  darkrain42              |           Owner:  deryni
     Type:  patch                   |          Status:  new   
Milestone:  Patches Needing Review  |       Component:  XMPP  
  Version:  2.5.5                   |      Resolution:        
 Keywords:  xhtml                   |   Launchpad_bug:        
------------------------------------+---------------------------------------

Comment(by darkrain42):

 Yes, I call `purple_markup_html_to_xhtml` on the string without the
 wrapping <html><body> and then add that afterward to the xhtml version.

 My reading of `purple_markup_html_to_xhtml` is that this should be fine,
 though.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8738#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list