diff options
| author | 2018-06-22 16:07:48 +0200 | |
|---|---|---|
| committer | 2018-06-22 16:07:48 +0200 | |
| commit | a66b995be7d187a208bf7f66ce4d83911ba5932f (patch) | |
| tree | 87489cdd4591e175ef169de852e319fe3fa3c776 /app/views/helpers/export | |
| parent | 0dab4f8bce46d6a1d81b4b369e5beaa4d385813f (diff) | |
Explicit quotes decoding (#1947)
* Explicit quotes decoding
* Explicit htmlspecialchars_decode and htmlspecialchars
Diffstat (limited to 'app/views/helpers/export')
| -rw-r--r-- | app/views/helpers/export/opml.phtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/helpers/export/opml.phtml b/app/views/helpers/export/opml.phtml index 236cca303..edb4d4eda 100644 --- a/app/views/helpers/export/opml.phtml +++ b/app/views/helpers/export/opml.phtml @@ -16,11 +16,11 @@ foreach ($this->categories as $key => $cat) { foreach ($cat['feeds'] as $feed) { $opml_array['body'][$key]['@outlines'][] = array( - 'text' => htmlspecialchars_decode($feed->name()), + 'text' => htmlspecialchars_decode($feed->name(), ENT_QUOTES), 'type' => 'rss', - 'xmlUrl' => htmlspecialchars_decode($feed->url()), - 'htmlUrl' => htmlspecialchars_decode($feed->website()), - 'description' => htmlspecialchars_decode($feed->description()), + 'xmlUrl' => htmlspecialchars_decode($feed->url(), ENT_QUOTES), + 'htmlUrl' => htmlspecialchars_decode($feed->website(), ENT_QUOTES), + 'description' => htmlspecialchars_decode($feed->description(), ENT_QUOTES), ); } } |
