Seeing this with in-line HTML as well. Both in Ubuntu.Components Label and QtQuick Text.
Example:
import QtQuick 2.0 import Ubuntu.Components 0.1
Rectangle { width: units.gu(40) height: units.gu(30)
Text{ anchors.fill: parent text: "<h1>Bug</h1><br><p>Line breaks are shown.</p>" } }
Seeing this with in-line HTML as well. Both in Ubuntu.Components Label and QtQuick Text.
Example:
import QtQuick 2.0
import Ubuntu.Components 0.1
Rectangle {
width: units.gu(40)
height: units.gu(30)
Text{
anchors. fill: parent /h1><br> <p>Line breaks are shown.</p>"
text: "<h1>Bug<
}
}