diff options
| author | 2013-11-12 22:37:25 +0100 | |
|---|---|---|
| committer | 2013-11-12 22:37:25 +0100 | |
| commit | 4c5e9d0dd828ec9da44b0f178edd73b7213d6d20 (patch) | |
| tree | a67d8c4ff620ae16ea874f8b4688643285d62ccd /app/layout/layout.phtml | |
| parent | fcc2e023ef2a783c48a02e359d4b3d8c0ff23734 (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/layout/layout.phtml')
| -rw-r--r-- | app/layout/layout.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml index 9d4147887..adcc74871 100644 --- a/app/layout/layout.phtml +++ b/app/layout/layout.phtml @@ -19,7 +19,7 @@ <?php } ?> <link rel="icon" href="<?php echo Url::display ('/favicon.ico'); ?>" /> <?php if (isset ($this->rss_url)) { ?> - <link rel="alternate" type="application/rss+xml" title="<?php echo htmlspecialchars($this->rss_title, ENT_COMPAT, 'UTF-8'); ?>" href="<?php echo Url::display ($this->rss_url); ?>" /> + <link rel="alternate" type="application/rss+xml" title="<?php echo $this->rss_title; ?>" href="<?php echo Url::display ($this->rss_url); ?>" /> <?php } ?> </head> <body> |
