Small logic change in preview descriptions line breaks. Multiple new lines are now replaced by multiple br tags.
Approved by Michał Sawicz.
commit37a7752690a5e17807b9e4c29612b89379425f15
authorDavid Callé <davidc@framli.eu>
dateWed 9 Oct 2013, 18:27 (13 years ago)
parentbb0fc13e422f09
Dash/Generic/GenericPreview.qml+1−1
@@ -122,7 +122,7 @@ DashPreview {
122122 fontSize: "small"
123123 opacity: 0.6
124124 color: "white"
125− text: previewData.description.replace(/[\r\n]+/g, "<br />")
125+ text: previewData.description.replace(/[\r\n]/g, "<br />")
126126 style: Text.Raised
127127 styleColor: "black"
128128 wrapMode: Text.WordWrap