diff --git a/src/xfce-appfinder-window.c b/src/xfce-appfinder-window.c
index f949814..d3775a7 100644
--- a/src/xfce-appfinder-window.c
+++ b/src/xfce-appfinder-window.c
@@ -1009,9 +1009,9 @@ _xfce_appfinder_window_load_menu_item (XfceAppfinderWindow *window,
command = garcon_menu_item_get_command (item);
if (G_LIKELY (comment != NULL))
- text = g_strdup_printf ("%s\n%s", name, comment);
+ text = g_markup_printf_escaped ("%s\n%s", name, comment);
else
- text = g_strdup_printf ("%s", name);
+ text = g_markup_printf_escaped ("%s", name);
tooltip_str = g_string_new (NULL);