From 043bcc88b51ba12b45a4d3981a2d62bdc71b121a Mon Sep 17 00:00:00 2001 From: Gaurav Sharma Date: Thu, 31 Mar 2016 09:32:28 +0530 Subject: sanitiser helper may be remove in 5.1, update doc [ci skip] using `rails-html-sanitizer` gem still Rails providing strip_tags, strip_links features. May be remove in 5.1 --- actionview/lib/action_view/helpers/sanitize_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/lib/action_view') diff --git a/actionview/lib/action_view/helpers/sanitize_helper.rb b/actionview/lib/action_view/helpers/sanitize_helper.rb index 191a881de0..f9784c3483 100644 --- a/actionview/lib/action_view/helpers/sanitize_helper.rb +++ b/actionview/lib/action_view/helpers/sanitize_helper.rb @@ -120,7 +120,7 @@ module ActionView attr_writer :full_sanitizer, :link_sanitizer, :white_list_sanitizer # Vendors the full, link and white list sanitizers. - # Provided strictly for compatibility and can be removed in Rails 5. + # Provided strictly for compatibility and can be removed in Rails 5.1. def sanitizer_vendor Rails::Html::Sanitizer end -- cgit v1.2.3