aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/index/normal/entry_bottom.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-06-22 16:07:48 +0200
committerGravatar GitHub <noreply@github.com> 2018-06-22 16:07:48 +0200
commita66b995be7d187a208bf7f66ce4d83911ba5932f (patch)
tree87489cdd4591e175ef169de852e319fe3fa3c776 /app/views/helpers/index/normal/entry_bottom.phtml
parent0dab4f8bce46d6a1d81b4b369e5beaa4d385813f (diff)
Explicit quotes decoding (#1947)
* Explicit quotes decoding * Explicit htmlspecialchars_decode and htmlspecialchars
Diffstat (limited to 'app/views/helpers/index/normal/entry_bottom.phtml')
-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 793c644f9..6417da4cb 100644
--- a/app/views/helpers/index/normal/entry_bottom.phtml
+++ b/app/views/helpers/index/normal/entry_bottom.phtml
@@ -81,7 +81,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', '#' . htmlspecialchars_decode($tag)); ?>"><?php echo $tag; ?></a></li><?php
+ ?><li class="item"><a href="<?php echo _url('index', 'index', 'search', '#' . htmlspecialchars_decode($tag, ENT_QUOTES)); ?>"><?php echo $tag; ?></a></li><?php
} ?>
</ul>
</div>