Parcourir la source

Minor Unicode changes

Alexandre Alapetite il y a 7 ans
Parent
commit
69eb651d56
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      p/api/fever.php

+ 3 - 3
p/api/fever.php

@@ -349,7 +349,7 @@ class FeverAPI
 		foreach ($categories as $category) {
 			$groups[] = array(
 				'id' => $category->id(),
-				'title' => escapeToUnicodeAlternative($category->name(), false),
+				'title' => escapeToUnicodeAlternative($category->name(), true),
 			);
 		}
 
@@ -535,8 +535,8 @@ class FeverAPI
 			$items[] = array(
 				'id' => $entry->id(),
 				'feed_id' => $entry->feed(false),
-				'title' => escapeToUnicodeAlternative($entry->title(), true),
-				'author' => escapeToUnicodeAlternative($entry->authors(true), true),
+				'title' => escapeToUnicodeAlternative($entry->title(), false),
+				'author' => escapeToUnicodeAlternative($entry->authors(true), false),
 				'html' => $entry->content(),
 				'url' => htmlspecialchars_decode($entry->link(), ENT_QUOTES),
 				'is_saved' => $entry->isFavorite() ? 1 : 0,