changeset 8536:008e4576dbfc

[gaim-migrate @ 9275] (10:51:01) datallah: LSchiere: I've got a fix for bug #925013 from bug #925013: " Since I set a contact's nick to a string that contained an ampersand I stopped receiving "new message" or "user is typing" type of notifications for that contact. Then I replaced the ampersand and now it works as expected." --Javier Kohen committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 31 Mar 2004 15:51:31 +0000
parents 7b0df53a409d
children dc818b62379e
files src/gtkconv.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Mar 31 06:32:48 2004 +0000
+++ b/src/gtkconv.c	Wed Mar 31 15:51:31 2004 +0000
@@ -4966,10 +4966,13 @@
 
 		if (*color != '\0')
 		{
-			char *label;
+			char *html_title,*label;
+
+			html_title = gaim_escape_html(title);
 
 			label = g_strdup_printf("<span color=\"%s\">%s</span>",
-			                        color, title);
+			                        color, html_title);
+			g_free(html_title);
 			gtk_label_set_markup(GTK_LABEL(gtkconv->tab_label), label);
 			g_free(label);
 		}