#192201 by myself: remove overly secure check_markup() and check_plain() usage which results in double escaped output
parent
64ff0984a9
commit
1c02e47e69
|
@ -312,8 +312,8 @@ function profile_view_profile(&$user) {
|
||||||
|
|
||||||
$user->content[$field->category][$field->name] = array(
|
$user->content[$field->category][$field->name] = array(
|
||||||
'#type' => 'user_profile_item',
|
'#type' => 'user_profile_item',
|
||||||
'#title' => check_plain($title),
|
'#title' => $title,
|
||||||
'#value' => check_markup($value),
|
'#value' => $value,
|
||||||
'#weight' => $field->weight,
|
'#weight' => $field->weight,
|
||||||
'#attributes' => array('class' => 'profile-'. $field->name),
|
'#attributes' => array('class' => 'profile-'. $field->name),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue