diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-20 17:09:07 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 17:09:07 +0900 |
commit | 158f67d94c027c7f4516b000f90ec10c1335a86c (patch) | |
tree | f2d9020a69c818b0b5ebd0b12b8b2e83353d0b52 | |
parent | 814e59cfe29927386e4b59b6bb008b679179f1d1 (diff) | |
parent | 065be937f27c25bc7d23e0dd35ad4aa84818b167 (diff) | |
download | rails-158f67d94c027c7f4516b000f90ec10c1335a86c.tar.gz rails-158f67d94c027c7f4516b000f90ec10c1335a86c.tar.bz2 rails-158f67d94c027c7f4516b000f90ec10c1335a86c.zip |
Merge pull request #30936 from maxfelsher/html-escape-doc-fix
Remove obsolete documentation for html_escape [ci skip]
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/output_safety.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/output_safety.rb b/activesupport/lib/active_support/core_ext/string/output_safety.rb index 600b41da10..873213e6d7 100644 --- a/activesupport/lib/active_support/core_ext/string/output_safety.rb +++ b/activesupport/lib/active_support/core_ext/string/output_safety.rb @@ -15,9 +15,6 @@ class ERB # A utility method for escaping HTML tag characters. # This method is also aliased as <tt>h</tt>. # - # In your ERB templates, use this method to escape any unsafe content. For example: - # <%= h @person.name %> - # # puts html_escape('is a > 0 & a < 10?') # # => is a > 0 & a < 10? def html_escape(s) |