foreach ($vocs as $vid) {
$vocabulary = taxonomy_vocabulary_load($vid);
-
+
+ //Clean out vocabulary, so that we don't have to leave security to our theme layer.
+ $vocabulary->description = filter_xss_admin($vocabulary->description);
+ $vocabulary->name = filter_xss_admin($vocabulary->name);
+
$tags = tagadelic_get_weighted_tags(array($vocabulary->vid), variable_get('tagadelic_levels', 6), variable_get('tagadelic_page_amount', '60'));
$tags = tagadelic_sort_tags($tags);