From 80fcb6d95f0c3f93bbb7b6f16d055c7c93f933b6 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 23 Sep 2022 15:18:13 +0200 Subject: [PATCH] Ensure strings in main window QML are presented as plain text and not HTML Signed-off-by: Claudio Cambra --- src/gui/tray/Window.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index f7f88fb87..66a5adf6e 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -461,6 +461,7 @@ ApplicationWindow { Layout.alignment: Qt.AlignLeft | Qt.AlignBottom width: Style.currentAccountLabelWidth text: UserModel.currentUser.name + textFormat: Text.PlainText elide: Text.ElideRight color: UserModel.currentUser.headerTextColor @@ -480,6 +481,7 @@ ApplicationWindow { visible: UserModel.currentUser.statusEmoji !== "" width: Style.userStatusEmojiSize text: UserModel.currentUser.statusEmoji + textFormat: Text.PlainText } Label { id: message @@ -490,6 +492,7 @@ ApplicationWindow { text: UserModel.currentUser.statusMessage !== "" ? UserModel.currentUser.statusMessage : UserModel.currentUser.server + textFormat: Text.PlainText elide: Text.ElideRight color: UserModel.currentUser.headerTextColor font.pixelSize: Style.subLinePixelSize -- 2.39.5