From 5897487f2f29cd3f29b538919c57988f118461e7 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 7 Nov 2022 08:34:12 +0100 Subject: Fix path_entries encoding (#4823) * Fix path_entries encoding #fix https://github.com/FreshRSS/FreshRSS/issues/4815 * Fix preview --- app/views/helpers/export/opml.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/helpers/export') diff --git a/app/views/helpers/export/opml.phtml b/app/views/helpers/export/opml.phtml index 1ee030cdf..d97641fd2 100644 --- a/app/views/helpers/export/opml.phtml +++ b/app/views/helpers/export/opml.phtml @@ -40,7 +40,7 @@ function feedsToOutlines($feeds, $excludeMutedFeeds = false): array { $outline['frss:filtersActionRead'] = ['namespace' => FreshRSS_Export_Service::FRSS_NAMESPACE, 'value' => $filters]; } if ($feed->pathEntries() != '') { - $outline['frss:cssFullContent'] = ['namespace' => FreshRSS_Export_Service::FRSS_NAMESPACE, 'value' => $feed->pathEntries()]; + $outline['frss:cssFullContent'] = ['namespace' => FreshRSS_Export_Service::FRSS_NAMESPACE, 'value' => htmlspecialchars_decode($feed->pathEntries(), ENT_QUOTES)]; } if ($feed->attributes('path_entries_filter') != '') { $outline['frss:cssFullContentFilter'] = ['namespace' => FreshRSS_Export_Service::FRSS_NAMESPACE, 'value' => $feed->attributes('path_entries_filter')]; -- cgit v1.2.3