mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #17392 from prathamesh-sonpatki/fix-docstring-for-sanitized-helpers-ci-skip
Clarify comments about sanitized_allowed_tags
This commit is contained in:
commit
2982b3018d
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