diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml index f65eda79..cd46f8ca 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml @@ -9,7 +9,24 @@ MatrixText { property string formatted: model.data.formattedBody property string copyText: selectedText ? getText(selectionStart, selectionEnd) : model.data.body - text: "" + formatted.replace("
", "").replace("", "").replace("", "").replace("", "").replace("", "")
+ // table border-collapse doesn't seem to work
+ text: "
+
+ " + formatted.replace("", "").replace("", "").replace("", "").replace("", "").replace("", "")
width: parent ? parent.width : undefined
height: isReply ? Math.round(Math.min(timelineView.height / 8, implicitHeight)) : undefined
clip: isReply