aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/global_search.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/global_search.vala')
-rw-r--r--main/src/ui/global_search.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/global_search.vala b/main/src/ui/global_search.vala
index 2fb31a90..a63aaed1 100644
--- a/main/src/ui/global_search.vala
+++ b/main/src/ui/global_search.vala
@@ -223,7 +223,7 @@ public class GlobalSearch {
grid.margin_top = 3;
grid.margin_bottom = 3;
- string text = item.message.body.replace("\n", "").replace("\r", "");
+ string text = Util.unbreak_space_around_non_spacing_mark(item.message.body.replace("\n", "").replace("\r", ""));
if (text.length > 200) {
int index = text.index_of(search);
if (index + search.length <= 100) {