From c054ce2c3f264524862e54f4ed5e25f25d01446a Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sat, 11 Sep 2004 13:19:03 +0000 Subject: - Fixing taxonomy descriptions in node_view links. --- modules/taxonomy.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/taxonomy.module') diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 5ed419e3a..221373a16 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -30,13 +30,13 @@ function taxonomy_link($type, $node = NULL) { if (array_key_exists('taxonomy', $node)) { foreach ($node->taxonomy as $tid) { $term = taxonomy_get_term($tid); - $links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => $term->description) : array()); + $links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => check_output($term->description)) : array()); } } else { $links = array(); foreach (taxonomy_node_get_terms($node->nid) as $term) { - $links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => $term->description) : array()); + $links[] = l($term->name, 'taxonomy/term/'. $term->tid, $term->description ? array ('title' => check_output($term->description)) : array()); } } -- cgit v1.2.3