diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c index fc856e748..7eeca0804 100644 --- a/panels/background/cc-background-panel.c +++ b/panels/background/cc-background-panel.c @@ -349,8 +349,12 @@ update_preview (CcBackgroundPanelPrivate *priv, if (priv->current_background) { GdkColor pcolor, scolor; + char *escaped; + + escaped = g_markup_escape_text (cc_background_item_get_name (priv->current_background), -1); + markup = g_strdup_printf ("%s", escaped); + g_free (escaped); - markup = g_strdup_printf ("%s", cc_background_item_get_name (priv->current_background)); gtk_label_set_markup (GTK_LABEL (WID ("background-label")), markup); g_free (markup);