aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2014-11-09 21:09:43 +0100
committernodiscc <nodiscc@gmail.com>2014-11-09 21:09:43 +0100
commit0845fb1ab801be9e347d485438b8a463184ab2eb (patch)
tree82a79223541dd21c32bcaa89d0ae60199c49a697 /tpl
parentdffa06ed61663c2ba9229f1b615627f2f5ac5887 (diff)
downloadShaarli-0845fb1ab801be9e347d485438b8a463184ab2eb.tar.gz
Shaarli-0845fb1ab801be9e347d485438b8a463184ab2eb.tar.zst
Shaarli-0845fb1ab801be9e347d485438b8a463184ab2eb.zip
use urlencode in tagcloud links
* prevents unproper escaping of characters like '&' * fixes https://github.com/sebsauvage/Shaarli/issues/85 * fixes https://github.com/shaarli/Shaarli/issues/48
Diffstat (limited to 'tpl')
-rw-r--r--tpl/tagcloud.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/tagcloud.html b/tpl/tagcloud.html
index 6918c7be..0dd2c0d3 100644
--- a/tpl/tagcloud.html
+++ b/tpl/tagcloud.html
@@ -6,7 +6,7 @@
6<center> 6<center>
7<div id="cloudtag"> 7<div id="cloudtag">
8 {loop="tags"} 8 {loop="tags"}
9 <span style="color:#99f; font-size:9pt; padding-left:5px; padding-right:2px;">{$value.count}</span><a href="?searchtags={$key|htmlspecialchars}" style="font-size:{$value.size}pt; font-weight:bold; color:black; text-decoration:none">{$key|htmlspecialchars}</a> 9 <span style="color:#99f; font-size:9pt; padding-left:5px; padding-right:2px;">{$value.count}</span><a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt; font-weight:bold; color:black; text-decoration:none">{$key|htmlspecialchars}</a>
10 {/loop} 10 {/loop}
11</div> 11</div>
12</center> 12</center>