Sun, 04 Sep 2011 21:08:40 +0000
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
| libpurple/protocols/jabber/message.c | file | annotate | diff | comparison | revisions |
--- 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,