diff options
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/lib/action_view/helpers/sanitize_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/lib/action_view/helpers/sanitize_helper.rb b/actionview/lib/action_view/helpers/sanitize_helper.rb index 13f946efa0..6e66a43a37 100644 --- a/actionview/lib/action_view/helpers/sanitize_helper.rb +++ b/actionview/lib/action_view/helpers/sanitize_helper.rb @@ -122,7 +122,7 @@ module ActionView attr_writer :full_sanitizer, :link_sanitizer, :white_list_sanitizer def sanitized_protocol_separator - ActiveSupport::Deprecation.warn('protocol_separator has been deprecated and has no effect.') + ActiveSupport::Deprecation.warn('sanitized_protocol_separator is deprecated and has no effect.') end def sanitized_uri_attributes @@ -130,7 +130,7 @@ module ActionView end def sanitized_bad_tags - ActiveSupport::Deprecation.warn('bad_tags has been deprecated and has no effect. You can still affect the tags being sanitized using Rails::Html::WhiteListSanitizer.bad_tags= which changes the allowed_tags.') + ActiveSupport::Deprecation.warn('sanitized_bad_tags is deprecated and has no effect. Affect the sanitized_allowed_tags using sanitized_bad_tags= instead.') end def sanitized_allowed_tags @@ -192,7 +192,7 @@ module ActionView def sanitized_protocol_separator=(value) - ActiveSupport::Deprecation.warn('protocol_separator= has been deprecated and has no effect.') + ActiveSupport::Deprecation.warn('sanitized_protocol_separator= is deprecated and has no effect.') end # Adds valid HTML attributes that the +sanitize+ helper checks for URIs. |