Class: Loofah::HTML::Document
- Inherits:
-
Nokogiri::HTML::Document
- Object
- Nokogiri::HTML::Document
- Loofah::HTML::Document
- Includes:
- DocumentDecorator, ScrubBehavior::Node, TextBehavior
- Defined in:
- lib/loofah/html/document.rb
Overview
Subclass of Nokogiri::HTML::Document.
See Loofah::ScrubBehavior and Loofah::TextBehavior for additional methods.
Instance Method Summary collapse
Methods included from TextBehavior
Methods included from DocumentDecorator
Methods included from ScrubBehavior::Node
Instance Method Details
#serialize_root ⇒ Object
14 15 16 |
# File 'lib/loofah/html/document.rb', line 14 def serialize_root at_xpath("/html/body") end |