summaryrefslogtreecommitdiff
path: root/app/views/helpers/view/rss_view.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-12 22:37:25 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-12 22:37:25 +0100
commit4c5e9d0dd828ec9da44b0f178edd73b7213d6d20 (patch)
treea67d8c4ff620ae16ea874f8b4688643285d62ccd /app/views/helpers/view/rss_view.phtml
parentfcc2e023ef2a783c48a02e359d4b3d8c0ff23734 (diff)
Cohérence htmlspecialchars
Le texte dans la base de données est en htmlspecialchars(UTF-8) (c'est-à-dire avec `<>&'"` encodés) mais maintenant sans autre entité HTML depuis https://github.com/marienfressinaud/FreshRSS/commit/a4fc7becb8553198d132633d775989c89c8116cd Ce patch supprime les htmlspecialchars qui faisaient du double-encodage, et en modifie d'autres en entrée.
Diffstat (limited to 'app/views/helpers/view/rss_view.phtml')
-rwxr-xr-xapp/views/helpers/view/rss_view.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/view/rss_view.phtml b/app/views/helpers/view/rss_view.phtml
index 9358ef2a5..e34f3b8b5 100755
--- a/app/views/helpers/view/rss_view.phtml
+++ b/app/views/helpers/view/rss_view.phtml
@@ -12,7 +12,7 @@ $items = $this->entryPaginator->items ();
foreach ($items as $item) {
?>
<item>
- <title><?php echo htmlspecialchars(html_entity_decode($item->title (), ENT_NOQUOTES, 'UTF-8'), ENT_NOQUOTES, 'UTF-8'); ?></title>
+ <title><?php echo $item->title (); ?></title>
<link><?php echo $item->link (); ?></link>
<?php $author = $item->author (); ?>
<?php if ($author != '') { ?>