#192201 by myself: remove overly secure check_markup() and check_plain() usage which results in double escaped output

6.x
Gábor Hojtsy 2007-11-20 11:39:48 +00:00
parent 64ff0984a9
commit 1c02e47e69
1 changed files with 2 additions and 2 deletions

View File

@ -312,8 +312,8 @@ function profile_view_profile(&$user) {
$user->content[$field->category][$field->name] = array(
'#type' => 'user_profile_item',
'#title' => check_plain($title),
'#value' => check_markup($value),
'#title' => $title,
'#value' => $value,
'#weight' => $field->weight,
'#attributes' => array('class' => 'profile-'. $field->name),
);