[Sailfish] Bugfix for not displaying titles with & char properly, fixes #159

This commit is contained in:
Hauke Schade 2015-07-11 14:10:23 +02:00
parent 38ca442112
commit 1458116dbe
2 changed files with 3 additions and 2 deletions

View file

@ -109,7 +109,7 @@ ListModel {
totalUnreadCount += parseInt(feeds[feed].unread)
}
}
if (root.count >= 2&& root.category.categoryId !== ttrss.constants['categories']['SPECIAL'])
if (root.count >= 2 && root.category.categoryId !== ttrss.constants['categories']['SPECIAL']) {
root.insert(0, {
title: constant.allArticles,
unreadcount: totalUnreadCount,
@ -119,6 +119,7 @@ ListModel {
icon: '',
lastUpdated: ''
})
}
}
}

View file

@ -92,7 +92,7 @@ ListItem {
maximumLineCount: settings.lengthOfTitle
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
truncationMode: TruncationMode.Fade
textFormat: Text.StyledText
textFormat: Text.RichText
font.weight: Font.Bold
font.pixelSize: Theme.fontSizeMedium
}