Skip to content
Snippets Groups Projects
Commit 18514216 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#172597 by Rob Loach: minor double escaping in profile module

parent 9bb28aa8
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -311,7 +311,7 @@ function profile_view_profile(&$user) {
if (!isset($user->content[$field->category])) {
$user->content[$field->category] = array(
'#type' => 'user_profile_category',
'#title' => check_plain($field->category),
'#title' => $field->category,
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment