aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/output_safety_helper.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2014-08-19 16:28:53 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2014-08-19 16:28:53 +0000
commit41231ef6c6c6a6e546b69add28f04aafb9e0e952 (patch)
tree71ebb32624a29c5262ad076a5dd95ebe48844f88 /actionview/lib/action_view/helpers/output_safety_helper.rb
parent0cb3bdb66e87981c1094edecfce9182ae8aeb240 (diff)
parentbc70448f6d6b83c1cd0814c9e93f7ed8245637a7 (diff)
downloadrails-41231ef6c6c6a6e546b69add28f04aafb9e0e952.tar.gz
rails-41231ef6c6c6a6e546b69add28f04aafb9e0e952.tar.bz2
rails-41231ef6c6c6a6e546b69add28f04aafb9e0e952.zip
Merge branch 'master' of github.com:rails/docrails
Conflicts: actionpack/lib/action_controller/metal/mime_responds.rb actionview/lib/action_view/vendor/html-scanner/html/sanitizer.rb activerecord/lib/active_record/type/value.rb
Diffstat (limited to 'actionview/lib/action_view/helpers/output_safety_helper.rb')
-rw-r--r--actionview/lib/action_view/helpers/output_safety_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/lib/action_view/helpers/output_safety_helper.rb b/actionview/lib/action_view/helpers/output_safety_helper.rb
index f03362d0f5..1c2a400245 100644
--- a/actionview/lib/action_view/helpers/output_safety_helper.rb
+++ b/actionview/lib/action_view/helpers/output_safety_helper.rb
@@ -17,10 +17,10 @@ module ActionView #:nodoc:
stringish.to_s.html_safe
end
- # This method returns an html safe string similar to what <tt>Array#join</tt>
+ # This method returns an HTML safe string similar to what <tt>Array#join</tt>
# would return. The array is flattened, and all items, including
- # the supplied separator, are html escaped unless they are html
- # safe, and the returned string is marked as html safe.
+ # the supplied separator, are HTML escaped unless they are HTML
+ # safe, and the returned string is marked as HTML safe.
#
# safe_join(["<p>foo</p>".html_safe, "<p>bar</p>"], "<br />")
# # => "<p>foo</p>&lt;br /&gt;&lt;p&gt;bar&lt;/p&gt;"