mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-28 05:58:40 -04:00
convertJsonToRss() HTML-escapes item fields before rendering the RSS, but the is_string() guard skipped 'tags', which is always an array. An unescaped & in a JSON category then produced invalid XML, so SimplePie rejected the whole document and the feed showed as empty. Minz_Helper::htmlspecialchars_utf8() already handles arrays, so the guard is dropped. Add a test for array and string categories. fix https://github.com/FreshRSS/FreshRSS/issues/9488 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>