diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/taxonomy.module | 2 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index d72be2b6f..0b47a4ec1 100644 --- a/modules/taxonomy.module +++ b/modules/taxonomy.module @@ -1180,7 +1180,7 @@ function taxonomy_rss_item($node) { $terms = taxonomy_node_get_terms($node->nid); foreach ($terms as $term) { $output[] = array('key' => 'category', - 'value' => $term->name, + 'value' => check_plain($term->name), 'attributes' => array('domain' => url('taxonomy/term/'.$term->tid, NULL, NULL, TRUE))); } return $output; diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index d72be2b6f..0b47a4ec1 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1180,7 +1180,7 @@ function taxonomy_rss_item($node) { $terms = taxonomy_node_get_terms($node->nid); foreach ($terms as $term) { $output[] = array('key' => 'category', - 'value' => $term->name, + 'value' => check_plain($term->name), 'attributes' => array('domain' => url('taxonomy/term/'.$term->tid, NULL, NULL, TRUE))); } return $output; |