[evolution] Bug 597108 - E_CONFIG_SECTION headers not properly escaped



commit 5172227bb59db4afdafc02e6249a199d1d8a4595
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Oct 2 08:39:25 2009 -0400

    Bug 597108 - E_CONFIG_SECTION headers not properly escaped

 e-util/e-config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-config.c b/e-util/e-config.c
index 1c21098..9d2a407 100644
--- a/e-util/e-config.c
+++ b/e-util/e-config.c
@@ -768,7 +768,7 @@ ec_rebuild (EConfig *emp)
 				}
 
 				if (translated_label != NULL) {
-					gchar *txt = g_strdup_printf("<span weight=\"bold\">%s</span>", translated_label);
+					gchar *txt = g_markup_printf_escaped("<span weight=\"bold\">%s</span>", translated_label);
 
 					label = g_object_new(gtk_label_get_type(),
 							     "label", txt,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]