Просмотр исходного кода

Fever remove semicolomn from author (#2283)

https://github.com/FreshRSS/FreshRSS/issues/2281
Alexandre Alapetite 7 лет назад
Родитель
Сommit
cb00eafba0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      p/api/fever.php

+ 1 - 1
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,