summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/taxonomy.module2
-rw-r--r--modules/taxonomy/taxonomy.module2
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;