From e567f78037de969ad765b9758a7baf2b07d177a2 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 27 May 2016 13:44:54 -0300 Subject: [PATCH] should not escape custom fields --- app/helpers/custom_fields_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 4972b3e..6294ec9 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -61,6 +61,6 @@ module CustomFieldsHelper def form_for_format(customized_type, format) field = CustomField.new(:format => format, :customized_type => customized_type, :environment => environment) - CGI::escapeHTML((render(:partial => 'features/custom_fields/form', :locals => {:field => field}))) + CGI::escapeHTML((render(:partial => 'features/custom_fields/form', :locals => {:field => field}))).html_safe end end -- libgit2 0.21.2