Escape search engine name and description.
This commit is contained in:
parent
e94d8c74e8
commit
f614f5874a
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ static void on_webSearch_engines_render_text(GtkTreeViewColumn* column
|
||||||
gtk_tree_model_get(model, iter, ENGINES_COL_ENGINE, &searchEngine, -1);
|
gtk_tree_model_get(model, iter, ENGINES_COL_ENGINE, &searchEngine, -1);
|
||||||
const gchar* name = search_engine_get_short_name(searchEngine);
|
const gchar* name = search_engine_get_short_name(searchEngine);
|
||||||
const gchar* description = search_engine_get_description(searchEngine);
|
const gchar* description = search_engine_get_description(searchEngine);
|
||||||
gchar* markup = g_strdup_printf("<b>%s</b>\n%s", name, description);
|
gchar* markup = g_markup_printf_escaped("<b>%s</b>\n%s", name, description);
|
||||||
g_object_set(renderer, "markup", markup, NULL);
|
g_object_set(renderer, "markup", markup, NULL);
|
||||||
g_free(markup);
|
g_free(markup);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue