From 6886aeec5ebcacac70ce3b340ec8529bf6c6b840 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 18 Apr 2009 06:32:24 +0000 Subject: - Patch #437120 by mfb: prevent double escaping of taxonmy term names. --- modules/taxonomy/taxonomy.module | 2 +- modules/taxonomy/taxonomy.pages.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 9df49b13f..d38357013 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1599,7 +1599,7 @@ function taxonomy_node_rss_item($node) { foreach ($node->taxonomy as $term) { $output[] = array( 'key' => 'category', - 'value' => check_plain($term->name), + 'value' => $term->name, 'attributes' => array('domain' => url(taxonomy_term_path($term), array('absolute' => TRUE))), ); } diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index 38a785593..57f1c6e74 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -29,7 +29,7 @@ function taxonomy_term_page($terms, $depth = 0, $op = 'page') { $names = array_values($term_results); if ($names) { - $title = check_plain(implode(', ', $names)); + $title = implode(', ', $names); drupal_set_title($title); switch ($op) { -- cgit v1.2.3