We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dea66a commit a76ea94Copy full SHA for a76ea94
app/models/content.rb
@@ -1,6 +1,5 @@
1
# frozen_string_literal: true
2
3
-require "set"
4
require "uri"
5
6
class Content < ApplicationRecord
lib/text_filter_plugin.rb
@@ -100,8 +100,8 @@ def self.help_text
100
""
101
end
102
103
- def self.sanitize(*args)
104
- (@sanitizer ||= Rails::Html::WhiteListSanitizer.new).sanitize(*args)
+ def self.sanitize(*)
+ (@sanitizer ||= Rails::Html::WhiteListSanitizer.new).sanitize(*)
105
106
107
def self.default_helper_module!; end
0 commit comments