matrixion/resources/qml/delegates/TextMessage.qml
2019-11-23 20:07:15 +01:00

6 lines
153 B
QML

import ".."
MatrixText {
text: model.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>")
width: parent ? parent.width : undefined
}