Properly escape marked up text in dictionary views fc11-i386-build56 fc11-x64-build53 lenny-x64-build77 sid-i386-build123
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 16 Dec 2009 19:30:08 +0000 (20:30 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 16 Dec 2009 19:30:08 +0000 (20:30 +0100)
src/ui/gui/dict-display.c

index 356758beeea4100c4f4f1fd3feeaae71ebeb2fb4..a8e9237a7edbb38c065e5d2c0f52dc6064fef862 100644 (file)
@@ -136,7 +136,7 @@ var_description_cell_data_func (GtkTreeViewColumn *col,
 
   if ( var_has_label (var))
     {
-      gchar *text = g_strdup_printf (
+      gchar *text = g_markup_printf_escaped (
                                     "<span stretch=\"condensed\">%s</span>",
                                     var_get_label (var));