diff libpurple/protocols/jabber/message.c @ 32500:afdbf45fa861

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
author Paul Aurich <paul@darkrain42.org>
date Sun, 04 Sep 2011 21:08:40 +0000
parents 3caef255ad47
children 0f94ec89f0bc
line wrap: on
line diff
--- 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,