未验证 提交 4eb9c01e 编写于 作者: T Tsukuru Tanimichi 提交者: GitHub

[ci skip] `sanitizer_vendor` will be removed in Rails 6

Related to https://github.com/rails/rails/pull/24386#issuecomment-403926683
上级 7fc499d1
......@@ -126,7 +126,7 @@ module ClassMethods #:nodoc:
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.1.
# Provided strictly for compatibility and can be removed in Rails 6.
def sanitizer_vendor
Rails::Html::Sanitizer
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册