Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
32499:8d3b5853b017 | 32500:afdbf45fa861 |
---|---|
635 } | 635 } |
636 | 636 |
637 /* process any newly provided smileys */ | 637 /* process any newly provided smileys */ |
638 jabber_message_add_remote_smileys(js, to, packet); | 638 jabber_message_add_remote_smileys(js, to, packet); |
639 } | 639 } |
640 | |
641 xmlnode_strip_prefixes(child); | |
640 | 642 |
641 /* reformat xhtml so that img tags with a "cid:" src gets | 643 /* reformat xhtml so that img tags with a "cid:" src gets |
642 translated to the bare text of the emoticon (the "alt" attrib) */ | 644 translated to the bare text of the emoticon (the "alt" attrib) */ |
643 /* this is done also when custom smiley retrieval is turned off, | 645 /* this is done also when custom smiley retrieval is turned off, |
644 this way the receiver always sees the shortcut instead */ | 646 this way the receiver always sees the shortcut instead */ |