pidgin: f6804c80: jabber: Strip element prefixes on XHTML-...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun Sep 4 17:15:49 EDT 2011
----------------------------------------------------------------------
Revision: f6804c803da32abd1dafe2a767e3c877a0521e1c
Parent: 5cd85b37b438c361ff191199de99c6ba9b7b0e49
Author: darkrain42 at pidgin.im
Date: 09/04/11 17:08:40
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f6804c803da32abd1dafe2a767e3c877a0521e1c
Changelog:
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
Changes against parent 5cd85b37b438c361ff191199de99c6ba9b7b0e49
patched libpurple/protocols/jabber/message.c
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/message.c 9c7fb4598c328e353013cb7d5a2077b8df154e3b
+++ libpurple/protocols/jabber/message.c b351da1958a81e535a2b44c65360d2d5ba843501
@@ -638,6 +638,8 @@ void jabber_message_parse(JabberStream *
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,
More information about the Commits
mailing list