1
0
Fork 0
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:
Rafael Mendonça França 2014-10-25 12:55:23 -07:00
commit 2982b3018d

View file

@ -57,7 +57,7 @@ module ActionView
# Add table tags to the default allowed tags # Add table tags to the default allowed tags
# #
# class Application < Rails::Application # class Application < Rails::Application
# config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td' # config.action_view.sanitized_allowed_tags = ['table', 'tr', 'td']
# end # end
# #
# Remove tags to the default allowed tags # Remove tags to the default allowed tags
@ -176,7 +176,7 @@ module ActionView
# Replaces the allowed tags for the +sanitize+ helper. # Replaces the allowed tags for the +sanitize+ helper.
# #
# class Application < Rails::Application # class Application < Rails::Application
# config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td' # config.action_view.sanitized_allowed_tags = ['table', 'tr', 'td']
# end # end
# #