Skip to content

Commit

Permalink
Update documentation for Rack::Protection::EscapedParams
Browse files Browse the repository at this point in the history
Remove mention of `html_safe`
  • Loading branch information
presidentbeef committed Aug 3, 2022
1 parent bc8d0c8 commit eba3698
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rack-protection/lib/rack/protection/escaped_params.rb
Expand Up @@ -17,8 +17,7 @@ module Protection
# More infos:: http://en.wikipedia.org/wiki/Cross-site_scripting
#
# Automatically escapes Rack::Request#params so they can be embedded in HTML
# or JavaScript without any further issues. Calls +html_safe+ on the escaped
# strings if defined, to avoid double-escaping in Rails.
# or JavaScript without any further issues.
#
# Options:
# escape:: What escaping modes to use, should be Symbol or Array of Symbols.
Expand Down

0 comments on commit eba3698

Please sign in to comment.