aboutsummaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-11-12 09:03:20 +0100
committerGravatar GitHub <noreply@github.com> 2018-11-12 09:03:20 +0100
commit0fce9892ff2b03083706b4f78495539861db98aa (patch)
tree615bce6063eb18ca701f46cbdb46836d4a5c8ce3 /app/Models
parentac62742082c3de4629664e506f6cc0fbfd9e09f7 (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')
-rw-r--r--app/Models/Feed.php2
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);