diff options
| author | 2015-09-08 21:31:24 +0200 | |
|---|---|---|
| committer | 2015-09-08 21:31:24 +0200 | |
| commit | d073331d2496d427dad972b9e024f247015e50ce (patch) | |
| tree | 590d814b6b628732903bc4fbb6346c01f904b74a | |
| parent | 9fcdaf99e24a23724c2b95b29b85b8112b6263fb (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.phtml | 2 |
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> |
