Sha256: 20c6a00a6c2ec0c3ec4392f3d6ae2963291caccf2e2b31384ac731f02ee26f22

Contents?: true

Size: 431 Bytes

Versions: 59

Compression:

Stored size: 431 Bytes

Contents

module Loofah
  module HTML # :nodoc:
    #
    #  Subclass of Nokogiri::HTML::Document.
    #
    #  See Loofah::ScrubBehavior and Loofah::TextBehavior for additional methods.
    #
    class Document < Nokogiri::HTML::Document
      include Loofah::ScrubBehavior::Node
      include Loofah::DocumentDecorator
      include Loofah::TextBehavior

      def serialize_root
        at_xpath("/html/body")
      end
    end
  end
end

Version data entries

59 entries across 52 versions & 12 rubygems

Version Path
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/loofah-2.3.1/lib/loofah/html/document.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/loofah-2.3.0/lib/loofah/html/document.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/loofah-2.2.3/lib/loofah/html/document.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/loofah-2.3.0/lib/loofah/html/document.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/loofah-2.2.3/lib/loofah/html/document.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/loofah-2.3.1/lib/loofah/html/document.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/loofah-2.3.1/lib/loofah/html/document.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/loofah-2.3.1/lib/loofah/html/document.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/loofah-2.2.3/lib/loofah/html/document.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/loofah-2.3.1/lib/loofah/html/document.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/loofah-2.3.0/lib/loofah/html/document.rb
loofah-2.3.1 lib/loofah/html/document.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/loofah-2.2.3/lib/loofah/html/document.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/loofah-2.3.0/lib/loofah/html/document.rb
loofah-2.3.0 lib/loofah/html/document.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/loofah-2.2.3/lib/loofah/html/document.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/loofah-2.2.3/lib/loofah/html/document.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/loofah-2.2.3/lib/loofah/html/document.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/loofah-2.2.3/lib/loofah/html/document.rb
spiral_form-0.1.1 vendor/bundle/gems/loofah-2.2.3/lib/loofah/html/document.rb