summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-18 06:32:24 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-18 06:32:24 +0000
commit6886aeec5ebcacac70ce3b340ec8529bf6c6b840 (patch)
treef804bdbb449dbdbb83b42f310d4cc5e61768139d
parent8ea7782499cb82cb1a241e633744d43ba9a77d40 (diff)
downloadbrdo-6886aeec5ebcacac70ce3b340ec8529bf6c6b840.tar.gz
brdo-6886aeec5ebcacac70ce3b340ec8529bf6c6b840.tar.bz2
- Patch #437120 by mfb: prevent double escaping of taxonmy term names.
-rw-r--r--modules/taxonomy/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.pages.inc2
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) {