summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/profiles_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb
index 6fa114a4194..f0d69f11184 100644
--- a/app/controllers/profiles_controller.rb
+++ b/app/controllers/profiles_controller.rb
@@ -75,7 +75,7 @@ class ProfilesController < ApplicationController
# validation for this fields
%w(name skype linkedin twitter bio).each do |attr|
value = user_attributes[attr]
- user_attributes[attr] = sanitize(value) if value.present?
+ user_attributes[attr] = sanitize(strip_tags(value)) if value.present?
end
user_attributes