From 9794b5538e2baee159d360c9f7125f178591659a Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Fri, 7 Apr 2006 15:32:17 +0000 Subject: - #55898: Generic, permissive admin XSS/HTML filtering for mission/footer/... - Clean up some raw output --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 69fe701ab..35bd0e613 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -29,7 +29,7 @@ function taxonomy_link($type, $node = NULL) { $links = array(); if (array_key_exists('taxonomy', $node)) { foreach ($node->taxonomy as $term) { - $links[] = l($term->name, taxonomy_term_path($term), array('rel' => 'tag', 'title' => $term->description)); + $links[] = l($term->name, taxonomy_term_path($term), array('rel' => 'tag', 'title' => strip_tags($term->description))); } } return $links; -- cgit v1.2.3