mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-17 13:56:40 -04:00
Merge pull request #1615 from Alkarex/author_sanitize
Author HTML to text
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
* Bug fixing
|
||||
* PHP 7.1 compatibility for the API [#1584](https://github.com/FreshRSS/FreshRSS/issues/1584), [#1594](https://github.com/FreshRSS/FreshRSS/pull/1594)
|
||||
* Fix API compatibility bug between PostgreSQL and EasyRSS [#1603](https://github.com/FreshRSS/FreshRSS/pull/1603)
|
||||
* Fix PostgreSQL error when adding new entries [#1610](https://github.com/FreshRSS/FreshRSS/issues/1610), [#1613](https://github.com/FreshRSS/FreshRSS/pull/1613)
|
||||
* Fix PostgreSQL error when adding entries with duplicated GUID [#1610](https://github.com/FreshRSS/FreshRSS/issues/1610)
|
||||
* Fix for RSS feeds containing HTML in author field [#1590](https://github.com/FreshRSS/FreshRSS/issues/1590)
|
||||
* Misc.
|
||||
* Allow longer database usernames [#1597](https://github.com/FreshRSS/FreshRSS/issues/1597)
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user