mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 22:28:49 +03:00
7 lines
261 B
QML
7 lines
261 B
QML
import ".."
|
|
|
|
MatrixText {
|
|
property string formatted: model.data.formattedBody
|
|
text: "<style type=\"text/css\">a { color:"+colors.link+";}</style>" + formatted.replace("<pre>", "<pre style='white-space: pre-wrap'>")
|
|
width: parent ? parent.width : undefined
|
|
}
|