diff options
| author | 2022-11-07 08:34:12 +0100 | |
|---|---|---|
| committer | 2022-11-07 08:34:12 +0100 | |
| commit | 5897487f2f29cd3f29b538919c57988f118461e7 (patch) | |
| tree | 373c14d17e6906baaf7d09418002a053628734d1 /app/views/helpers/export/opml.phtml | |
| parent | f2fe9e2ff36efdf6861ed6ab58d820787d62f8d7 (diff) | |
Fix path_entries encoding (#4823)
* Fix path_entries encoding
#fix https://github.com/FreshRSS/FreshRSS/issues/4815
* Fix preview
Diffstat (limited to 'app/views/helpers/export/opml.phtml')
| -rw-r--r-- | app/views/helpers/export/opml.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
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')]; |
