aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-02-05 09:36:39 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-02-05 09:36:39 +0100
commit69eb651d56e7fa9bf742f60366cdb10f769246e3 (patch)
tree131665d94df8bc19f7e278fbdc952411c6342316 /p
parentce62ce0ebd562781307d137141e38338882f89ab (diff)
Minor Unicode changes
Diffstat (limited to 'p')
-rw-r--r--p/api/fever.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/p/api/fever.php b/p/api/fever.php
index d315523c4..30f9651a3 100644
--- a/p/api/fever.php
+++ b/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,