diff options
author | filip <filip.komar@gmail.com> | 2018-04-22 13:48:03 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2018-04-22 13:48:03 +0200 |
commit | 81a9d30c6236450747307345b6a80a4bb5aa25db (patch) | |
tree | 2b7646ff5e87e21c87ece4d9914139dedabe5406 | |
parent | 34894535c6e5b93a177cdb2d845d56bfe7b5df76 (diff) | |
download | www-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
-rw-r--r-- | lib/news.php | 2 |
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); |