diff options
author | Marvin W <git@larma.de> | 2025-01-02 14:22:41 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2025-01-03 17:44:43 +0100 |
commit | 398c52e1b9a5c91cd99277463080819ebdedfe1d (patch) | |
tree | dc8aef72d3bdd27a75b14608af4f174a0548c670 /main/src/ui/global_search.vala | |
parent | b490eb662fb8fb9ddbc8bbaea2b5608e7a511158 (diff) | |
download | dino-398c52e1b9a5c91cd99277463080819ebdedfe1d.tar.gz dino-398c52e1b9a5c91cd99277463080819ebdedfe1d.zip |
Work around pango bug
See https://gitlab.gnome.org/GNOME/pango/-/issues/798 and https://gitlab.gnome.org/GNOME/pango/-/issues/832
Diffstat (limited to 'main/src/ui/global_search.vala')
-rw-r--r-- | main/src/ui/global_search.vala | 2 |
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) { |