summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-04-07 15:32:17 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-04-07 15:32:17 +0000
commit9794b5538e2baee159d360c9f7125f178591659a (patch)
treec73a591ff817a3466ddea66391c664768022aa29 /modules/taxonomy
parent77dc67ec9218b9eb6dd8a88f8d81d15312ce3d3c (diff)
downloadbrdo-9794b5538e2baee159d360c9f7125f178591659a.tar.gz
brdo-9794b5538e2baee159d360c9f7125f178591659a.tar.bz2
- #55898: Generic, permissive admin XSS/HTML filtering for mission/footer/...
- Clean up some raw output
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
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;