From b5bf5760bffc60a8e071e85604e0fcfe994710ef Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 5 Dec 2024 16:20:15 +0100 Subject: Avoid Unicode escape of authors in HTML UI (#7056) fix https://github.com/FreshRSS/FreshRSS/issues/2770 --- app/Models/Feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/Feed.php') 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)) . '; '; } } } -- cgit v1.2.3