diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-25 12:55:23 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-10-25 12:55:23 -0700 |
commit | 2982b3018dc23cd211dd6f1f7307e343bc55bd3a (patch) | |
tree | 48c8bafa2e6003cbbdb6e943eee9f2c7adef4f57 | |
parent | 52f65f671a6b46bb1a8908bd3a5fb8dd4503547e (diff) | |
parent | 95acea5498f1e9ac43cf87b55578e0a8d576680b (diff) | |
download | rails-2982b3018dc23cd211dd6f1f7307e343bc55bd3a.tar.gz rails-2982b3018dc23cd211dd6f1f7307e343bc55bd3a.tar.bz2 rails-2982b3018dc23cd211dd6f1f7307e343bc55bd3a.zip |
Merge pull request #17392 from prathamesh-sonpatki/fix-docstring-for-sanitized-helpers-ci-skip
Clarify comments about sanitized_allowed_tags
-rw-r--r-- | actionview/lib/action_view/helpers/sanitize_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/sanitize_helper.rb b/actionview/lib/action_view/helpers/sanitize_helper.rb index 4f2db0a0c4..7cb55cc214 100644 --- a/actionview/lib/action_view/helpers/sanitize_helper.rb +++ b/actionview/lib/action_view/helpers/sanitize_helper.rb @@ -57,7 +57,7 @@ module ActionView # Add table tags to the default allowed tags # # class Application < Rails::Application - # config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td' + # config.action_view.sanitized_allowed_tags = ['table', 'tr', 'td'] # end # # Remove tags to the default allowed tags @@ -176,7 +176,7 @@ module ActionView # Replaces the allowed tags for the +sanitize+ helper. # # class Application < Rails::Application - # config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td' + # config.action_view.sanitized_allowed_tags = ['table', 'tr', 'td'] # end # |