From: nodiscc Date: Sun, 9 Nov 2014 20:09:43 +0000 (+0100) Subject: use urlencode in tagcloud links X-Git-Tag: v0.0.43beta~28^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F54%2Fhead;p=github%2Fshaarli%2FShaarli.git 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 --- 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 @@
{loop="tags"} - {$value.count}{$key|htmlspecialchars} + {$value.count}{$key|htmlspecialchars} {/loop}