From 398c52e1b9a5c91cd99277463080819ebdedfe1d Mon Sep 17 00:00:00 2001 From: Marvin W Date: Thu, 2 Jan 2025 14:22:41 +0100 Subject: Work around pango bug See https://gitlab.gnome.org/GNOME/pango/-/issues/798 and https://gitlab.gnome.org/GNOME/pango/-/issues/832 --- main/src/windows/preferences_window/add_account_dialog.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/windows') 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 }); } -- cgit v1.2.3-70-g09d2