This commit is contained in:
8
app/models/html_scrubber.rb
Normal file
8
app/models/html_scrubber.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class HtmlScrubber < Rails::Html::PermitScrubber
|
||||
def initialize
|
||||
super
|
||||
self.tags = Rails::Html::WhiteListSanitizer.allowed_tags + %w[
|
||||
audio details summary iframe options table tbody td th thead tr video source
|
||||
]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user