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/conversation_content_view/message_widget.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/conversation_content_view/message_widget.vala')
-rw-r--r-- | main/src/ui/conversation_content_view/message_widget.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/ui/conversation_content_view/message_widget.vala b/main/src/ui/conversation_content_view/message_widget.vala index 376ef4bd..d116e7de 100644 --- a/main/src/ui/conversation_content_view/message_widget.vala +++ b/main/src/ui/conversation_content_view/message_widget.vala @@ -140,6 +140,9 @@ public class MessageMetaItem : ContentMetaItem { } } + // Work around pango bug + markup_text = Util.unbreak_space_around_non_spacing_mark((owned) markup_text); + if (conversation.type_ == Conversation.Type.GROUPCHAT) { markup_text = Util.parse_add_markup_theme(markup_text, conversation.nickname, true, true, true, Util.is_dark_theme(this.label), ref theme_dependent); } else { |