Skip to content
Snippets Groups Projects
Verified Commit 7f6c1136 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix html in usernames

parent b2ccf766
No related branches found
No related tags found
No related merge requests found
Pipeline #4102 passed
......@@ -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
......
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment