diff options
| author | 2024-12-05 16:20:15 +0100 | |
|---|---|---|
| committer | 2024-12-05 16:20:15 +0100 | |
| commit | b5bf5760bffc60a8e071e85604e0fcfe994710ef (patch) | |
| tree | c752305274f77fec110d1c0ea7b9fae37b73a1d7 /app/Models/Feed.php | |
| parent | 3b15f8a5c9c919235c34518d14d09b41cfb93884 (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.php | 2 |
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)) . '; '; } } } |
