From 3e6f7eeeae0e4dd16d03e42a9a50fc39b8482dcd Mon Sep 17 00:00:00 2001 From: Dale Whittaker Date: Tue, 22 Jul 2008 12:37:02 +0200 Subject: [PATCH] Escape strings used in markup --- midori/midori-locationentry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/midori/midori-locationentry.c b/midori/midori-locationentry.c index 37f2a448..27daba15 100644 --- a/midori/midori-locationentry.c +++ b/midori/midori-locationentry.c @@ -178,9 +178,9 @@ midori_location_entry_set_item (GtkTreeModel* model, gchar* desc = NULL; if (item->title) - desc = g_strdup_printf ("%s - %s", item->uri, item->title); + desc = g_markup_printf_escaped ("%s - %s", item->uri, item->title); else - desc = g_strdup_printf ("%s", item->uri); + desc = g_markup_printf_escaped ("%s", item->uri); gtk_list_store_set (GTK_LIST_STORE (model), iter, FAVICON_COL, item->favicon, URI_COL, item->uri, TITLE_COL, desc, -1);