aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2018-04-22 13:48:03 +0200
committerfilip <filip.komar@gmail.com>2018-04-22 13:48:03 +0200
commit81a9d30c6236450747307345b6a80a4bb5aa25db (patch)
tree2b7646ff5e87e21c87ece4d9914139dedabe5406 /lib
parent34894535c6e5b93a177cdb2d845d56bfe7b5df76 (diff)
downloadwww-81a9d30c6236450747307345b6a80a4bb5aa25db.tar
www-81a9d30c6236450747307345b6a80a4bb5aa25db.tar.gz
www-81a9d30c6236450747307345b6a80a4bb5aa25db.tar.bz2
www-81a9d30c6236450747307345b6a80a4bb5aa25db.tar.xz
www-81a9d30c6236450747307345b6a80a4bb5aa25db.zip
get rid of HTML entities in blog/planet titles
Diffstat (limited to 'lib')
-rw-r--r--lib/news.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/news.php b/lib/news.php
index 601785770..fa1852d14 100644
--- a/lib/news.php
+++ b/lib/news.php
@@ -135,7 +135,7 @@ function show_feed($locale, $news_title, $link, $feed, $count = 5, $skip = null,
continue;
if ($split && strpos($d['title'], ') : ') !== false) {
- $title = explode(') : ', $d['title']);
+ $title = explode(') : ', html_entity_decode($d['title']));
$source = array_shift($title) . '): ';
$source = (is_null($date_separator) ? $source : null);
$title = implode(' : ', $title);