mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix html in usernames
This commit is contained in:
parent
b2ccf766ba
commit
7f6c1136ff
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ Label {
|
||||||
property int fullTextWidth: Math.ceil(metrics.advanceWidth)
|
property int fullTextWidth: Math.ceil(metrics.advanceWidth)
|
||||||
|
|
||||||
color: Nheko.colors.text
|
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
|
maximumLineCount: 1
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
textFormat: Text.PlainText
|
textFormat: Text.PlainText
|
||||||
|
|
|
@ -387,7 +387,7 @@ Page {
|
||||||
Layout.alignment: Qt.AlignBaseline
|
Layout.alignment: Qt.AlignBaseline
|
||||||
color: roomItem.importantText
|
color: roomItem.importantText
|
||||||
elideWidth: width
|
elideWidth: width
|
||||||
fullText: roomName
|
fullText: TimelineManager.htmlEscape(roomName)
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue