diff --git a/resources/qml/ElidedLabel.qml b/resources/qml/ElidedLabel.qml index 4c734cc577d452522df7bc3f5788763deaed365e..321fa279e077746e915c042fe19c71771a3f3561 100644 --- a/resources/qml/ElidedLabel.qml +++ b/resources/qml/ElidedLabel.qml @@ -16,7 +16,7 @@ Label { property int fullTextWidth: Math.ceil(metrics.advanceWidth) color: Nheko.colors.text - text: (textFormat == Text.PlainText) ? metrics.elidedText : TimelineManager.escapeEmoji(TimelineManager.htmlEscape(metrics.elidedText)) + text: (textFormat == Text.PlainText) ? metrics.elidedText : TimelineManager.escapeEmoji(metrics.elidedText) maximumLineCount: 1 elide: Text.ElideRight textFormat: Text.PlainText diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml index 24b62fd2ac6515b8e7c7b10a0c6d37f70baa64dc..a1abed001810e463b7a762c011aa4837b8ef3491 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml @@ -387,7 +387,7 @@ Page { Layout.alignment: Qt.AlignBaseline color: roomItem.importantText elideWidth: width - fullText: roomName + fullText: TimelineManager.htmlEscape(roomName) textFormat: Text.RichText Layout.fillWidth: true }