aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-12-05 16:20:15 +0100
committerGravatar GitHub <noreply@github.com> 2024-12-05 16:20:15 +0100
commitb5bf5760bffc60a8e071e85604e0fcfe994710ef (patch)
treec752305274f77fec110d1c0ea7b9fae37b73a1d7 /app/Models/Feed.php
parent3b15f8a5c9c919235c34518d14d09b41cfb93884 (diff)
Avoid Unicode escape of authors in HTML UI (#7056)
fix https://github.com/FreshRSS/FreshRSS/issues/2770
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 489062316..841749312 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -640,7 +640,7 @@ class FreshRSS_Feed extends Minz_Model {
foreach ($authors as $author) {
$authorName = $author->name != '' ? $author->name : $author->email;
if (is_string($authorName) && $authorName !== '') {
- $authorNames .= escapeToUnicodeAlternative(strip_tags($authorName), true) . '; ';
+ $authorNames .= html_only_entity_decode(strip_tags($authorName)) . '; ';
}
}
}