Wrap text in pre tags

This commit is contained in:
Nicolas Werner 2019-11-22 16:37:43 +01:00
parent 7bd875004f
commit 85aae9408b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}