Explorar el Código

Fever remove semicolomn from author (#2283)

https://github.com/FreshRSS/FreshRSS/issues/2281
Alexandre Alapetite hace 7 años
padre
commit
cb00eafba0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,