Fix CSS in reply.
This commit is contained in:
@@ -226,10 +226,6 @@ Item {
|
||||
|
||||
boundsBehavior: Flickable.DragOverBounds
|
||||
|
||||
onModelChanged: {
|
||||
messageListView.positionViewAtBeginning()
|
||||
}
|
||||
|
||||
model: SortFilterProxyModel {
|
||||
id: sortedMessageEventModel
|
||||
|
||||
|
||||
@@ -246,7 +246,7 @@ QString SpectralRoom::eventToString(const RoomEvent& evt,
|
||||
}
|
||||
htmlBody.replace(utils::userPillRegExp, "<b>\\1</b>");
|
||||
htmlBody.replace(utils::strikethroughRegExp, "<s>\\1</s>");
|
||||
htmlBody.push_front("<style>pre {white-space: pre-wrap}</style>");
|
||||
|
||||
return htmlBody;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user