pidgin/plugins/gtkbuddynote.c

changeset 20384
632684df1936
parent 19859
71d37b57eff2
child 20288
5ca925a094e2
--- a/pidgin/plugins/gtkbuddynote.c	Tue Sep 18 20:16:51 2007 +0000
+++ b/pidgin/plugins/gtkbuddynote.c	Tue Sep 18 20:30:25 2007 +0000
@@ -31,8 +31,11 @@
 		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, _("\n<b>Buddy Note</b>: %s"),
-			                       note);
+			                       tmp);
+			g_free(tmp);
 		}
 	}
 }

mercurial