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
This commit is contained in:
parent
dffa06ed61
commit
0845fb1ab8
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
<center>
|
<center>
|
||||||
<div id="cloudtag">
|
<div id="cloudtag">
|
||||||
{loop="tags"}
|
{loop="tags"}
|
||||||
<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>
|
<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>
|
||||||
{/loop}
|
{/loop}
|
||||||
</div>
|
</div>
|
||||||
</center>
|
</center>
|
||||||
|
|
Loading…
Reference in a new issue