diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-18 06:32:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-18 06:32:24 +0000 |
commit | 6886aeec5ebcacac70ce3b340ec8529bf6c6b840 (patch) | |
tree | f804bdbb449dbdbb83b42f310d4cc5e61768139d | |
parent | 8ea7782499cb82cb1a241e633744d43ba9a77d40 (diff) | |
download | brdo-6886aeec5ebcacac70ce3b340ec8529bf6c6b840.tar.gz brdo-6886aeec5ebcacac70ce3b340ec8529bf6c6b840.tar.bz2 |
- Patch #437120 by mfb: prevent double escaping of taxonmy term names.
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 | ||||
-rw-r--r-- | 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) { |