aboutsummaryrefslogtreecommitdiff
path: root/main/src/windows
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2025-01-02 14:22:41 +0100
committerMarvin W <git@larma.de>2025-01-03 17:44:43 +0100
commit398c52e1b9a5c91cd99277463080819ebdedfe1d (patch)
treedc8aef72d3bdd27a75b14608af4f174a0548c670 /main/src/windows
parentb490eb662fb8fb9ddbc8bbaea2b5608e7a511158 (diff)
downloaddino-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/windows')
-rw-r--r--main/src/windows/preferences_window/add_account_dialog.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/windows/preferences_window/add_account_dialog.vala b/main/src/windows/preferences_window/add_account_dialog.vala
index bfa98103..3ca183e1 100644
--- a/main/src/windows/preferences_window/add_account_dialog.vala
+++ b/main/src/windows/preferences_window/add_account_dialog.vala
@@ -311,7 +311,7 @@ public class AddAccountDialog : Adw.Window {
register_form_continue.grab_focus();
} else if (form.fields.size > 0) {
if (form.instructions != null && form.instructions != "") {
- string markup_instructions = Util.parse_add_markup(form.instructions, null, true, false);
+ string markup_instructions = Util.parse_add_markup(Util.unbreak_space_around_non_spacing_mark(form.instructions), null, true, false);
form_box.append(new Label(markup_instructions) { use_markup=true, xalign=0, margin_top=7,
wrap=true, wrap_mode=Pango.WrapMode.WORD_CHAR });
}