From 1940573befd5b05b971d02f89b99cecccf0e76ae Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 29 Jan 2024 16:35:35 +0100 Subject: [PATCH] keyboard: Avoid markup escaping when setting button labels These are no longer interpreted as Pango markup. Part-of: --- js/ui/keyboard.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 6ceb2032b..1aa47ae47 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -434,8 +434,7 @@ const Key = GObject.registerClass({ } else if (label) { button.set_label(label); } else if (commitString) { - const str = GLib.markup_escape_text(commitString, -1); - button.set_label(str); + button.set_label(commitString); } button.keyWidth = 1;