Module: Loofah::DocumentDecorator

Included in:
HTML::Document, XML::Document
Defined in:
lib/loofah/instance_methods.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#initialize(*args, &block) ⇒ Object


127
128
129
130
131
# File 'lib/loofah/instance_methods.rb', line 127

def initialize(*args, &block)
  super
  self.decorators(Nokogiri::XML::Node) << ScrubBehavior::Node
  self.decorators(Nokogiri::XML::NodeSet) << ScrubBehavior::NodeSet
end