Commit e567f78037de969ad765b9758a7baf2b07d177a2
1 parent
9f79ead3
Exists in
ratings_minor_fixes
and in
3 other branches
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 | ... | ... |