From 5acbec27001aa382699cf144d9a953c9b725bc01 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 15 Oct 2009 12:19:57 +0000 Subject: - Patch #604828 by bangpound: added missing check_plain() in theme_field_formatter_taxonomy_term_plain(). --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') 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); } /** -- cgit v1.2.3