diff options
| author | 2018-11-12 09:03:20 +0100 | |
|---|---|---|
| committer | 2018-11-12 09:03:20 +0100 | |
| commit | 0fce9892ff2b03083706b4f78495539861db98aa (patch) | |
| tree | 615bce6063eb18ca701f46cbdb46836d4a5c8ce3 /app/Models/Feed.php | |
| parent | ac62742082c3de4629664e506f6cc0fbfd9e09f7 (diff) | |
API encoding tuning (#2120)
Use only minimal XML->Unicode encoding for articles title.
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2093
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 a5ef33d6b..acf3bd981 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -424,7 +424,7 @@ class FreshRSS_Feed extends Minz_Model { $author_names = ''; if (is_array($authors)) { foreach ($authors as $author) { - $author_names .= escapeToUnicodeAlternative(strip_tags($author->name == '' ? $author->email : $author->name)) . '; '; + $author_names .= escapeToUnicodeAlternative(strip_tags($author->name == '' ? $author->email : $author->name), true) . '; '; } } $author_names = substr($author_names, 0, -2); |
