Escape strings used in markup
This commit is contained in:
parent
2b7c0c42d5
commit
3e6f7eeeae
1 changed files with 2 additions and 2 deletions
|
@ -178,9 +178,9 @@ midori_location_entry_set_item (GtkTreeModel* model,
|
||||||
gchar* desc = NULL;
|
gchar* desc = NULL;
|
||||||
|
|
||||||
if (item->title)
|
if (item->title)
|
||||||
desc = g_strdup_printf ("<b>%s</b> - %s", item->uri, item->title);
|
desc = g_markup_printf_escaped ("<b>%s</b> - %s", item->uri, item->title);
|
||||||
else
|
else
|
||||||
desc = g_strdup_printf ("<b>%s</b>", item->uri);
|
desc = g_markup_printf_escaped ("<b>%s</b>", item->uri);
|
||||||
|
|
||||||
gtk_list_store_set (GTK_LIST_STORE (model), iter,
|
gtk_list_store_set (GTK_LIST_STORE (model), iter,
|
||||||
FAVICON_COL, item->favicon, URI_COL, item->uri, TITLE_COL, desc, -1);
|
FAVICON_COL, item->favicon, URI_COL, item->uri, TITLE_COL, desc, -1);
|
||||||
|
|
Loading…
Reference in a new issue