[devhelp] sidebar: correctly escape unsuffixed hits



commit 4ab968847c67c85632e8f174a476dde868cedf78
Author: Frédéric Péters <fpeters 0d be>
Date:   Wed Jan 27 18:02:03 2016 +0100

    sidebar: correctly escape unsuffixed hits

 src/dh-sidebar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-sidebar.c b/src/dh-sidebar.c
index bb4036f..749ef2e 100644
--- a/src/dh-sidebar.c
+++ b/src/dh-sidebar.c
@@ -408,7 +408,7 @@ hitlist_cell_data_func (GtkTreeViewColumn *tree_column,
                                 dh_link_get_name (link),
                                 dh_link_get_type_as_string (link));
         } else {
-                name = g_strdup (dh_link_get_name (link));
+                name = g_markup_printf_escaped ("%s", dh_link_get_name (link));
         }
 
         g_object_set (cell,


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