summary refs log tree commit diff
path: root/resources/qml/delegates/TextMessage.qml
blob: 7e4b1f2954589df0630113225d48d1cdd7c45b6f (plain) (blame)
1
2
3
4
5
6
7
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
}