matrixion/resources/qml/delegates/TextMessage.qml

7 lines
153 B
QML
Raw Normal View History

2019-11-03 05:28:16 +03:00
import ".."
2019-11-03 05:28:16 +03:00
MatrixText {
2019-11-22 18:37:43 +03:00
text: model.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>")
2019-10-28 00:01:40 +03:00
width: parent ? parent.width : undefined
}