9 lines
242 B
Ruby
9 lines
242 B
Ruby
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
|