Fix a few more HTML injections
This commit is contained in:
parent
7bb1b1c650
commit
45b5629fe4
2 changed files with 3 additions and 3 deletions
|
|
@ -77,7 +77,7 @@ RoomsModel::data(const QModelIndex &index, int role) const
|
|||
return QString::fromStdString(
|
||||
roomInfos.at(roomids[index.row()]).avatar_url);
|
||||
case Roles::RoomID:
|
||||
return roomids[index.row()];
|
||||
return roomids[index.row()].toHtmlEscaped();
|
||||
}
|
||||
}
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue