mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Wrap text in pre tags
This commit is contained in:
parent
7bd875004f
commit
85aae9408b
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
import ".."
|
import ".."
|
||||||
|
|
||||||
MatrixText {
|
MatrixText {
|
||||||
text: model.formattedBody
|
text: model.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>")
|
||||||
width: parent ? parent.width : undefined
|
width: parent ? parent.width : undefined
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue