----------------------------------------------------------------- Revision: 29a042e507ebe2a83bda971c94bb641979090e7b Ancestor: 23c81a483086f0c1541212be4c849abb05f9f3bd Author: nosnilmot@pidgin.im Date: 2007-09-18T20:30:25 Branch: im.pidgin.pidgin Modified files: pidgin/plugins/gtkbuddynote.c ChangeLog: Convert buddy notes to plain text before displaying in the tooltip to avoid invalid pango markup preventing the display of the entire tooltip text. Fixes #2657 ============================================================ --- pidgin/plugins/gtkbuddynote.c ceea38e2b71e6cdb0ff0ddbb2da042327ad0f68b +++ pidgin/plugins/gtkbuddynote.c 1fd6753cdc854757b15b841f0c9724c694c5fe73 @@ -31,8 +31,11 @@ append_to_tooltip(PurpleBlistNode *node, const gchar *note = purple_blist_node_get_string(node, "notes"); if ((note != NULL) && (*note != '\0')) { + char *tmp; + purple_markup_html_to_xhtml(note, NULL, &tmp); g_string_append_printf(text, _("\nBuddy Note: %s"), - note); + tmp); + g_free(tmp); } } }