From 92f27f915e3a5e536cefb3e1c7f13ef2b4efc467 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 8 Feb 2011 02:51:33 +0000 Subject: bringing us a little closer to validating git-svn-id: http://code.elgg.org/elgg/trunk@8066 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/tagcloud.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/default/output') diff --git a/views/default/output/tagcloud.php b/views/default/output/tagcloud.php index 2f76d9cbe..442244d8d 100644 --- a/views/default/output/tagcloud.php +++ b/views/default/output/tagcloud.php @@ -50,7 +50,8 @@ if (!empty($vars['tagcloud']) && is_array($vars['tagcloud'])) { $size = 100; } $url = elgg_get_site_url()."pg/search/?q=". urlencode($tag->tag) . "&search_type=tags$type$subtype"; - $cloud .= "tag)." ($tag->total)\" style=\"text-decoration:none;\">" . htmlspecialchars($tag->tag, ENT_QUOTES, 'UTF-8') . ""; + $url = elgg_format_url($url); + $cloud .= "tag)." ($tag->total)\">" . htmlspecialchars($tag->tag, ENT_QUOTES, 'UTF-8') . ""; } if ($context != 'tags') { -- cgit v1.2.3