diff options
| author | 2017-08-19 13:48:47 +0200 | |
|---|---|---|
| committer | 2017-08-19 13:48:47 +0200 | |
| commit | 18285d27297da3a3eb08f8fb56144d5389567ef6 (patch) | |
| tree | fd0febc176075a5c118c2d5e8bc39cc0dc48e906 /app/Models/Feed.php | |
| parent | ed4953a1cd8438a3310332f05e335954272a4318 (diff) | |
Author HTML to text
https://github.com/FreshRSS/FreshRSS/issues/1590#issuecomment-313914174
https://github.com/FreshRSS/FreshRSS/pull/1592#issuecomment-320290049
Diffstat (limited to 'app/Models/Feed.php')
| -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() |
