diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 5c10b675863f5d5dac1831e62ec4befb803c5918..f148ffbd7382757e254abfe14bbf36671670ca91 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -649,7 +649,7 @@ def fields_for(record_name, record_object = nil, options = {}, &block) # # => # # label(:post, :terms) do - # 'Accept Terms.' + # 'Accept Terms.'.html_safe # end def label(object_name, method, content_or_options = nil, options = nil, &block) content_is_options = content_or_options.is_a?(Hash) @@ -738,7 +738,7 @@ def hidden_field(object_name, method, options = {}) # # => # # file_field(:post, :attached, :accept => 'text/html') - # # => + # # => # # file_field(:attachment, :file, :class => 'file_input') # # =>