parent
3443fdf2bd
commit
c81ff56d13
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ class OrganizationsController < ApplicationController
|
|||
params.require(:organization).permit(permitted_params).
|
||||
transform_values do |value|
|
||||
if value.class.name == "String"
|
||||
ActionController::Base.helpers.strip_tags(value)
|
||||
Loofah.scrub_fragment(value, :prune).text(encode_special_chars: false)
|
||||
else
|
||||
value
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue