Commit 1c02e47e authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#192201 by myself: remove overly secure check_markup() and check_plain() usage...

#192201 by myself: remove overly secure check_markup() and check_plain() usage which results in double escaped output
parent 64ff0984
......@@ -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),
);
......
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