# HG changeset patch # User Paul Aurich # Date 1315170520 0 # Node ID afdbf45fa861a2581db898bf14f2fcba726a7e52 # Parent 8d3b5853b0174d75ed315f3cfe72160305759eff jabber: Strip element prefixes on XHTML-IM content. I'm a little late to the party in completing this code, as I believe Google's actually reverted the change. But the consensus was we should present saner content to the core/UIs. Fixes #14529 diff -r 8d3b5853b017 -r afdbf45fa861 libpurple/protocols/jabber/message.c --- a/libpurple/protocols/jabber/message.c Sun Sep 04 21:06:26 2011 +0000 +++ b/libpurple/protocols/jabber/message.c Sun Sep 04 21:08:40 2011 +0000 @@ -638,6 +638,8 @@ jabber_message_add_remote_smileys(js, to, packet); } + xmlnode_strip_prefixes(child); + /* reformat xhtml so that img tags with a "cid:" src gets translated to the bare text of the emoticon (the "alt" attrib) */ /* this is done also when custom smiley retrieval is turned off,