aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-09-08 21:31:24 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-09-08 21:31:24 +0200
commitd073331d2496d427dad972b9e024f247015e50ce (patch)
tree590d814b6b628732903bc4fbb6346c01f904b74a
parent9fcdaf99e24a23724c2b95b29b85b8112b6263fb (diff)
Tag link double encoding problem
https://github.com/FreshRSS/FreshRSS/issues/970 Tags coming from the database are already HTML-encoded.
-rw-r--r--app/views/helpers/index/normal/entry_bottom.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/index/normal/entry_bottom.phtml b/app/views/helpers/index/normal/entry_bottom.phtml
index 66c9d0e74..3af7436c3 100644
--- a/app/views/helpers/index/normal/entry_bottom.phtml
+++ b/app/views/helpers/index/normal/entry_bottom.phtml
@@ -71,7 +71,7 @@
<ul class="dropdown-menu">
<li class="dropdown-close"><a href="#close">❌</a></li><?php
foreach($tags as $tag) {
- ?><li class="item"><a href="<?php echo _url('index', 'index', 'search', '#' . urlencode($tag)); ?>"><?php echo $tag; ?></a></li><?php
+ ?><li class="item"><a href="<?php echo _url('index', 'index', 'search', '#' . htmlspecialchars_decode($tag)); ?>"><?php echo $tag; ?></a></li><?php
} ?>
</ul>
</div>