summaryrefslogtreecommitdiff
path: root/modules/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile.module')
-rw-r--r--modules/profile.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile.module b/modules/profile.module
index b61470b39..25e9db138 100644
--- a/modules/profile.module
+++ b/modules/profile.module
@@ -131,7 +131,7 @@ function profile_view_field($user, $field) {
case 'textarea':
return check_output($value);
case 'selection':
- return l($value, "profile/$field->name/". drupal_specialchars($value));
+ return l($value, "profile/$field->name/". drupal_specialchars($value, ENT_QUOTES));
case 'checkbox':
return l($field->title, "profile/$field->name");
case 'url':
@@ -141,7 +141,7 @@ function profile_view_field($user, $field) {
$fields = array();
foreach ($values as $value) {
if ($value = trim(strip_tags($value))) {
- $fields[] = l($value, "profile/$field->name/". drupal_specialchars($value));
+ $fields[] = l($value, "profile/$field->name/". drupal_specialchars($value, ENT_QUOTES));
}
}
return implode(', ', $fields);