Commit 84bba674626784454fe7a31b50afa519537be3a8

Authored by Leandro Santos
Committed by Macartur Sousa
1 parent 4576b19a
Exists in elasticsearch_api

should not escape custom fields

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/custom_fields_helper.rb
... ... @@ -61,6 +61,6 @@ module CustomFieldsHelper
61 61  
62 62 def form_for_format(customized_type, format)
63 63 field = CustomField.new(:format => format, :customized_type => customized_type, :environment => environment)
64   - CGI::escapeHTML((render(:partial => 'features/custom_fields/form', :locals => {:field => field})))
  64 + CGI::escapeHTML((render(:partial => 'features/custom_fields/form', :locals => {:field => field}))).html_safe
65 65 end
66 66 end
... ...