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 08:57:18 +0000 (10:57 +0200)
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
src/gui/tray/Window.qml

index f7f88fb878e49e47242f62222dbc803739abe676..66a5adf6e298f11072f5e21f713852cd73dfe7fc 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