diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-19 13:56:10 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-19 13:56:10 -0400 |
commit | 4fada56a4ccfd1bdc714113b61baa394af77f927 (patch) | |
tree | 5de8ebed54142ccddb14555386e852b273cd2ebc /templates | |
parent | 8bea9cf893f2f0c80e3cfbafca9f8113c640eb99 (diff) |
decode special html chars in feed titles
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.listfeed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php index e8d91ecb8..f0205776b 100644 --- a/templates/part.listfeed.php +++ b/templates/part.listfeed.php @@ -17,7 +17,7 @@ if($unreadItemsCount == 0){ } echo '<li class="feed" data-id="' . $feed->getId() . '" style="background-image: url(' . $favicon . ');">'; -echo '<a href="#" " class="' . $allReadClass . '">' . $feed->getTitle() .'</a>'; +echo '<a href="#" " class="' . $allReadClass . '">' . htmlspecialchars_decode($feed->getTitle()) .'</a>'; echo '<span class="unreaditemcounter ' . $allReadClass . '">' . $unreadItemsCount . '</span>'; echo '<button class="svg action feeds_delete" onClick="(News.Feed.delete(' . $feed->getId(). '))" title="' . $l->t('Delete feed') . '"></button>'; echo '</li>'; |