Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
email
Commits
35c92261
Commit
35c92261
authored
Jun 13, 2009
by
Matthias Hutterer
Browse files
#485492 sanitize help text
parent
2aaf58b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
email.module
email.module
+1
-1
No files found.
email.module
View file @
35c92261
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment