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);