Commit 35c92261 authored by Matthias Hutterer's avatar Matthias Hutterer
Browse files

#485492 sanitize help text

parent 2aaf58b8
......@@ -221,7 +221,7 @@ function email_textfield_process($element, $edit, $form_state, $form) {
$element[$field_key] = array(
'#type' => 'textfield',
'#title' => t($field['widget']['label']),
'#description' => t($field['widget']['description']),
'#description' => content_filter_xss(t($field['widget']['description'])),
'#required' => $element['#required'],
'#maxlength' => 255,
'#size' => !empty($field['widget']['size']) ? $field['widget']['size'] : 60,
......
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