Module: Loofah::DocumentDecorator

Included in:
HTML4::Document, HTML5::Document, XML::Document
Defined in:
lib/loofah/concerns.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#initialize(*args, &block) ⇒ Object



126
127
128
129
130
# File 'lib/loofah/concerns.rb', line 126

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