diff --git a/app/views/features/custom_fields/_form.html.erb b/app/views/features/custom_fields/_form.html.erb index cbadef7..561d6b4 100644 --- a/app/views/features/custom_fields/_form.html.erb +++ b/app/views/features/custom_fields/_form.html.erb @@ -29,7 +29,7 @@ - <%= button(:add, _('Add option'), 'javascript: void()', :id => "btn_opt_#{id}", :onclick => "add_content('##{id} .custom-field-extras', $('#btn_opt_#{id}').attr('value'), 'EXTRAS_ID');", :value => "#{render_extras_field(id)}") %> + <%= button(:add, _('Add option'), 'javascript: void()', :id => "btn_opt_#{id}", :onclick => "add_content('##{id} .custom-field-extras', $('#btn_opt_#{id}').attr('value'), 'EXTRAS_ID');", :value => "#{render_extras_field(id)}".html_safe) %> <% if !field.extras.blank?%> -- libgit2 0.21.2