mirror of https://github.com/Nheko-Reborn/nheko
parent
c5af3543e6
commit
284fc8eaa8
@ -1,9 +1,4 @@ |
|||||||
import ".." |
TextMessage { |
||||||
|
|
||||||
MatrixText { |
|
||||||
property string notice: model.data.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>") |
|
||||||
text: notice |
|
||||||
width: parent ? parent.width : undefined |
|
||||||
font.italic: true |
font.italic: true |
||||||
color: inactiveColors.text |
color: inactiveColors.text |
||||||
} |
} |
||||||
|
@ -1,6 +1,7 @@ |
|||||||
import ".." |
import ".." |
||||||
|
|
||||||
MatrixText { |
MatrixText { |
||||||
text: model.data.formattedBody.replace("<pre>", "<pre style='white-space: pre-wrap'>") |
property string formatted: model.data.formattedBody |
||||||
|
text: formatted.replace("<pre>", "<pre style='white-space: pre-wrap'>") |
||||||
width: parent ? parent.width : undefined |
width: parent ? parent.width : undefined |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue