diff options
| author | 2017-08-19 13:55:41 +0200 | |
|---|---|---|
| committer | 2017-08-19 13:55:41 +0200 | |
| commit | 19df77c249f23f00d247799ca9deaf4fd923e2bf (patch) | |
| tree | 11714c97316054d70447e9c9ac396feb8bfb0650 /app/Models | |
| parent | ed4953a1cd8438a3310332f05e335954272a4318 (diff) | |
| parent | 94f4f67f3084eb81d792d8a9b9ae147ef14726d7 (diff) | |
Merge pull request #1615 from Alkarex/author_sanitize
Author HTML to text
Diffstat (limited to 'app/Models')
| -rw-r--r-- | app/Models/Feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 52d49db6e..4f11d32e9 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -339,7 +339,7 @@ class FreshRSS_Feed extends Minz_Model { $this->id(), $item->get_id(false, false), $title === null ? '' : $title, - $author === null ? '' : html_only_entity_decode($author->name), + $author === null ? '' : html_only_entity_decode(strip_tags($author->name)), $content === null ? '' : $content, $link === null ? '' : $link, $date ? $date : time() |
