Embrace HTML coming from Comic Vine

This commit is contained in:
Luis Ángel San Martín
2021-02-27 14:53:30 +01:00
parent e5526de0af
commit 0f6b203d34
2 changed files with 8 additions and 2 deletions

View File

@ -258,8 +258,14 @@ Rectangle {
font.pixelSize: 15
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignJustify
text: comicInfo.synopsis
text: '<html><head><style>
a {
color: #FFCB00;
text-decoration:none;
}
</style></head><body>' + comicInfo.synopsis + '</body></html>'
visible: comicInfo.synopsis
textFormat: Text.RichText
}
Text {