Sha256: 1a85e7947bf76c7b8285a1756dafa7ae51c025fcdce6aa7767f37a4e87dda263
Contents?: true
Size: 295 Bytes
Versions: 33
Compression:
Stored size: 295 Bytes
Contents
module AmaLayout class NotificationScrubber < Rails::Html::PermitScrubber def initialize super self.tags = %w(i a div span strong br em h1 h2 h3 h4 h5 h6 blockquote) self.attributes = %w(href class id) end def skip_node?(node) node.text? end end end
Version data entries
33 entries across 33 versions & 1 rubygems