changeset 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 8d3b5853b017
children d82c76a842f8
files libpurple/protocols/jabber/message.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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,