class Loofah::HTML::Document

Subclass of Nokogiri::HTML::Document.

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

Public Instance Methods

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