Class Loofah::HTML::Document
In: lib/loofah/html/document.rb
Parent: Nokogiri::HTML::Document
RuntimeError ScrubberNotFound Nokogiri::XML::DocumentFragment DocumentFragment Document Document Nokogiri::XML::Document DocumentFragment Nokogiri::HTML::DocumentFragment Nokogiri::HTML::Document Scrubber NoFollow Escape Strip Whitewash NewlineBlockElements Prune Scrubber WhiteListSanitizer FullSanitizer XML Scrub WhiteList HTML5 HTML DocumentDecorator MetaHelpers Elements NodeSet Node ScrubBehavior ClassMethods ActionView Helpers TextBehavior Scrubbers Loofah dot/f_0.png

Subclass of Nokogiri::HTML::Document.

See Loofah::ScrubBehavior and Loofah::TextBehavior for additional methods.

Methods

Included Modules

Loofah::ScrubBehavior::Node Loofah::DocumentDecorator Loofah::TextBehavior

Public Instance methods

[Source]

# File lib/loofah/html/document.rb, line 13
      def serialize_root
        at_xpath("/html/body")
      end

[Validate]