summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-09-14 17:40:37 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-09-14 17:40:37 +0200
commitdafb2543fd950e90854f50eb5d087dffbe522cc4 (patch)
tree48bc21d54081c4877a09a33970adff24cc40b4c6 /templates
parentae6c2a760f8b73b6826e882329e629d13efbe931 (diff)
made feeds smaller, fixed some errors from js linter
Diffstat (limited to 'templates')
-rw-r--r--templates/part.listfeed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index cf4277dbd..6012b574d 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -9,7 +9,7 @@ if(isset($_['mock'])) {
$favicon = OCP\Util::imagePath('core', 'actions/public.svg');
} else {
$feed = isset($_['feed']) ? $_['feed'] : null;
- $feedTitle = $feed->getTitle();
+ htmlspecialchars_decode($feedTitle = $feed->getTitle());
$feedId = $feed->getId();
$unreadItemsCount = isset($_['unreadItemsCount']) ? $_['unreadItemsCount'] : null;
$favicon = $feed->getFavicon();
@@ -19,7 +19,7 @@ if(isset($_['mock'])) {
}
echo '<li class="feed" data-id="' . $feedId . '">';
- echo '<a style="background-image: url(' . $favicon . ');" href="#" class="title">' . htmlspecialchars($feedTitle, ENT_QUOTES, 'UTF-8') .'</a>';
+ echo '<a style="background-image: url(' . $favicon . ');" href="#" class="title">' . $feedTitle .'</a>';
echo '<span class="unread_items_counter">' . $unreadItemsCount . '</span>';
echo '<span class="buttons">';
echo '<button class="svg action feeds_delete" title="' . $l->t('Delete feed') . '"></button>';