--- a/libgaim/protocols/jabber/parser.c Sat Dec 02 22:58:10 2006 +0000 +++ b/libgaim/protocols/jabber/parser.c Sat Dec 02 22:58:59 2006 +0000 @@ -72,10 +72,14 @@ xmlnode_set_namespace(node, (const char*) namespace); for(i=0; i < nb_attributes * 5; i+=5) { + char *txt; int attrib_len = attributes[i+4] - attributes[i+3]; char *attrib = g_malloc(attrib_len + 1); memcpy(attrib, attributes[i+3], attrib_len); attrib[attrib_len] = '\0'; + txt = attrib; + attrib = gaim_unescape_html(txt); + g_free(txt); xmlnode_set_attrib(node, (const char*) attributes[i], attrib); g_free(attrib); }