Blob Blame History Raw
--- notification-daemon-0.3.7/src/themes/standard/theme.c.summary-markup	2007-05-14 12:08:42.000000000 -0400
+++ notification-daemon-0.3.7/src/themes/standard/theme.c	2007-05-14 12:09:49.000000000 -0400
@@ -866,11 +866,14 @@ notification_tick(GtkWindow *nw, glong r
 void
 set_notification_text(GtkWindow *nw, const char *summary, const char *body)
 {
-	char *str;
+	char *str, *quoted;
 	WindowData *windata = g_object_get_data(G_OBJECT(nw), "windata");
 	g_assert(windata != NULL);
 
-	str = g_strdup_printf("<b><big>%s</big></b>", summary);
+	quoted = g_markup_escape_text (summary, -1);
+	str = g_strdup_printf("<b><big>%s</big></b>", quoted);
+	g_free (quoted);
+
 	gtk_label_set_markup(GTK_LABEL(windata->summary_label), str);
 	g_free(str);