diff options
Diffstat (limited to 'app/models/Feed.php')
| -rw-r--r-- | app/models/Feed.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php index a7788df17..40394fa46 100644 --- a/app/models/Feed.php +++ b/app/models/Feed.php @@ -203,6 +203,8 @@ class Feed extends Model { foreach ($feed->get_items () as $item) { $title = $item->get_title (); + $title = preg_replace('#<a(.+)>(.+)</a>#', '\\2', $title); + $title = htmlentities($title); $author = $item->get_author (); $link = $item->get_permalink (); $date = strtotime ($item->get_date ()); |
