From 778040c810cdb49019ea8bcc65d0a10d135e204d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 20 Feb 2021 00:53:18 +0100 Subject: [PATCH] Escape database label for markup. issue10082 review341331002 --- tryton/gui/window/dblogin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tryton/gui/window/dblogin.py b/tryton/gui/window/dblogin.py index fd030e6a3f..26330ceba6 100644 --- a/tryton/gui/window/dblogin.py +++ b/tryton/gui/window/dblogin.py @@ -311,7 +311,8 @@ class DBListEditor(object): elif dbs is None: label = _('Could not connect to the server.') if label: - self.database_label.set_label('%s' % label) + self.database_label.set_label( + '%s' % GLib.markup_escape_text(label)) self.database_label.show() else: self.database_combo.remove_all()