mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Clarify comments about sanitized_allowed_tags
- Clarify that arguments are expected in array format. - Extension of https://github.com/rails/rails/pull/17390. - https://github.com/rails/rails/pull/17390 was targeted against 4-1-stable branch. This commit updates master. - [ci skip]
This commit is contained in:
parent
8d7cf75684
commit
95acea5498
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
#
|
||||
|
||||
|
|
Loading…
Reference in a new issue