Class Loofah::HTML::DocumentFragment
In: lib/loofah/html/document_fragment.rb
Parent: Nokogiri::HTML::DocumentFragment

Subclass of Nokogiri::HTML::DocumentFragment.

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

Methods

Included Modules

Loofah::TextBehavior

Public Class methods

Overridden Nokogiri::HTML::DocumentFragment constructor. Applications should use Loofah.fragment to parse a fragment.

Public Instance methods

serialize()

Alias for to_s

Returns the HTML markup contained by the fragment

[Validate]