summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/taxonomy/taxonomy.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 7476f5588..b7423f124 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1153,7 +1153,7 @@ function theme_field_formatter_taxonomy_term_link($variables) {
*/
function theme_field_formatter_taxonomy_term_plain($variables) {
$term = $variables['element']['#item']['taxonomy_term'];
- return $term->name;
+ return check_plain($term->name);
}
/**