Commit 5acbec27 authored by Dries's avatar Dries

- Patch #604828 by bangpound: added missing check_plain() in...

- Patch #604828 by bangpound: added missing check_plain() in theme_field_formatter_taxonomy_term_plain().
parent 394e7f2e
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment