Ensure strings in main window QML are presented as plain text and not HTML
authorClaudio Cambra <claudio.cambra@gmail.com>
Fri, 23 Sep 2022 13:18:13 +0000 (15:18 +0200)
committerClaudio Cambra <claudio.cambra@gmail.com>
Mon, 26 Sep 2022 11:08:12 +0000 (13:08 +0200)
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
src/gui/tray/Window.qml

index 1061a3c8459853968a3f5c905def9747e111fc84..207b1fad161579e55a79251daf5c5a003402734d 100644 (file)
@@ -461,6 +461,7 @@ ApplicationWindow {
                                 Layout.alignment: Qt.AlignLeft | Qt.AlignBottom\r
                                 width: Style.currentAccountLabelWidth\r
                                 text: UserModel.currentUser.name\r
+                                textFormat: Text.PlainText\r
                                 elide: Text.ElideRight\r
                                 color: UserModel.currentUser.headerTextColor\r
 \r
@@ -480,6 +481,7 @@ ApplicationWindow {
                                     visible: UserModel.currentUser.statusEmoji !== ""\r
                                     width: Style.userStatusEmojiSize\r
                                     text: UserModel.currentUser.statusEmoji\r
+                                    textFormat: Text.PlainText\r
                                 }\r
                                 Label {\r
                                     id: message\r
@@ -490,6 +492,7 @@ ApplicationWindow {
                                     text: UserModel.currentUser.statusMessage !== ""\r
                                           ? UserModel.currentUser.statusMessage\r
                                           : UserModel.currentUser.server\r
+                                    textFormat: Text.PlainText\r
                                     elide: Text.ElideRight\r
                                     color: UserModel.currentUser.headerTextColor\r
                                     font.pixelSize: Style.subLinePixelSize\r