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()