diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-11-22 16:37:43 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-11-23 20:07:15 +0100 |
commit | 85aae9408b2bb8ebd64c91fdcb4eddc9aec49746 (patch) | |
tree | 74517e2adbc15059bf8e07176854ab1054c33a0a /resources | |
parent | Only mark messages as read, when room is active (diff) | |
download | nheko-85aae9408b2bb8ebd64c91fdcb4eddc9aec49746.tar.xz |
Wrap text in pre tags
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/delegates/TextMessage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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("<pre>", "<pre style='white-space: pre-wrap'>") width: parent ? parent.width : undefined } |