changeset 20200:440a2d75e976

applied changes from 23c81a483086f0c1541212be4c849abb05f9f3bd through 29a042e507ebe2a83bda971c94bb641979090e7b
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 15:21:51 +0000
parents 56a6d78c6613
children 6b17f0424f25
files pidgin/plugins/gtkbuddynote.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/gtkbuddynote.c	Fri Sep 28 15:20:24 2007 +0000
+++ b/pidgin/plugins/gtkbuddynote.c	Fri Sep 28 15:21:51 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);
 		}
 	}
 }