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