diff -ur empathy-2.31.92/libempathy-gtk/empathy-log-window.c empathy-2.31.92.patched//libempathy-gtk/empathy-log-window.c
--- empathy-2.31.92/libempathy-gtk/empathy-log-window.c	2010-09-07 18:42:20.000000000 +0400
+++ empathy-2.31.92.patched//libempathy-gtk/empathy-log-window.c	2010-09-27 23:45:24.000000000 +0400
@@ -578,6 +578,7 @@
 	GtkTreeModel       *model;
 	GtkTreeSelection   *selection;
 	GtkListStore       *store;
+	gchar              *escaped_criteria;
 
 	view = GTK_TREE_VIEW (window->treeview_find);
 	model = gtk_tree_view_get_model (view);
@@ -593,8 +594,13 @@
 		return;
 	}
 
-	tpl_log_manager_search_async (window->log_manager, search_criteria,
+    /* Escape special characters */
+	escaped_criteria = g_markup_escape_text (search_criteria, -1);
+
+	tpl_log_manager_search_async (window->log_manager, escaped_criteria,
 			log_manager_searched_new_cb, (gpointer) store);
+
+	g_free (escaped_criteria);
 }
 
 static void
