Escape more html
This commit is contained in:
@@ -57,7 +57,7 @@ Loader {
|
|||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
text: {
|
text: {
|
||||||
let heading = "<b>%1</b>"
|
let heading = "<b>%1</b>"
|
||||||
let userName = user ? "<font color=\""+ user.color +"\">" + user.displayName + "</font>" : ""
|
let userName = user ? "<font color=\""+ user.color +"\">" + currentRoom.htmlSafeMemberName(user.id) + "</font>" : ""
|
||||||
if (isEdit) {
|
if (isEdit) {
|
||||||
heading = heading.arg(i18n("Editing message:")) + "<br/>"
|
heading = heading.arg(i18n("Editing message:")) + "<br/>"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ Loader {
|
|||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
level: 3
|
level: 3
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
text: author.displayName
|
text: currentRoom.htmlSafeMemberName(author.id)
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
QQC2.Label {
|
QQC2.Label {
|
||||||
|
|||||||
Reference in New Issue
Block a user