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


121
122
123
124
125
# File 'lib/loofah/instance_methods.rb', line 121

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