mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 17:40:47 +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
|
|
}
|