From 85aae9408b2bb8ebd64c91fdcb4eddc9aec49746 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 22 Nov 2019 16:37:43 +0100 Subject: [PATCH] Wrap text in pre tags --- resources/qml/delegates/TextMessage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml index 990a3f5b..f984b32f 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml @@ -1,6 +1,6 @@ import ".." MatrixText { - text: model.formattedBody + text: model.formattedBody.replace("
", "
")
 	width: parent ? parent.width : undefined
 }