aboutsummaryrefslogtreecommitdiff
path: root/views/default/output
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-08 02:51:33 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-08 02:51:33 +0000
commit92f27f915e3a5e536cefb3e1c7f13ef2b4efc467 (patch)
tree3103150365f8ce64b4d3c8f4ff0924534cd93c87 /views/default/output
parent313f19f489d6eea610f1833587049f16977af781 (diff)
downloadelgg-92f27f915e3a5e536cefb3e1c7f13ef2b4efc467.tar.gz
elgg-92f27f915e3a5e536cefb3e1c7f13ef2b4efc467.tar.bz2
bringing us a little closer to validating
git-svn-id: http://code.elgg.org/elgg/trunk@8066 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output')
-rw-r--r--views/default/output/tagcloud.php3
1 files changed, 2 insertions, 1 deletions
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 .= "<a href=\"$url\" style=\"font-size: $size%\" title=\"".addslashes($tag->tag)." ($tag->total)\" style=\"text-decoration:none;\">" . htmlspecialchars($tag->tag, ENT_QUOTES, 'UTF-8') . "</a>";
+ $url = elgg_format_url($url);
+ $cloud .= "<a href=\"$url\" style=\"font-size: $size%\" title=\"".addslashes($tag->tag)." ($tag->total)\">" . htmlspecialchars($tag->tag, ENT_QUOTES, 'UTF-8') . "</a>";
}
if ($context != 'tags') {