aboutsummaryrefslogtreecommitdiff
path: root/p/api/fever.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-03-19 20:08:56 +0100
committerGravatar GitHub <noreply@github.com> 2019-03-19 20:08:56 +0100
commitcb00eafba02b5dfe9bfefd8a4b4228cccef9a6bf (patch)
tree263143bac590e0467444d66ec3dd642d7e97a6fa /p/api/fever.php
parent6323fe5ea011e7f8821b93071c8f40f271a697f0 (diff)
Fever remove semicolomn from author (#2283)
https://github.com/FreshRSS/FreshRSS/issues/2281
Diffstat (limited to 'p/api/fever.php')
-rw-r--r--p/api/fever.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/fever.php b/p/api/fever.php
index 30f9651a3..b81646928 100644
--- a/p/api/fever.php
+++ b/p/api/fever.php
@@ -536,7 +536,7 @@ class FeverAPI
'id' => $entry->id(),
'feed_id' => $entry->feed(false),
'title' => escapeToUnicodeAlternative($entry->title(), false),
- 'author' => escapeToUnicodeAlternative($entry->authors(true), false),
+ 'author' => escapeToUnicodeAlternative(trim($entry->authors(true), '; '), false),
'html' => $entry->content(),
'url' => htmlspecialchars_decode($entry->link(), ENT_QUOTES),
'is_saved' => $entry->isFavorite() ? 1 : 0,