Sha256: 7353dd76404c93d84b39b6b3be8c80a61ddb925769d71646f34d83d0e43e61f8

Contents?: true

Size: 499 Bytes

Versions: 152

Compression:

Stored size: 499 Bytes

Contents

module Nokogiri
  module XML
    class EntityReference < Nokogiri::XML::Node
      def children
        # libxml2 will create a malformed child node for predefined
        # entities. because any use of that child is likely to cause a
        # segfault, we shall pretend that it doesn't exist.
        #
        # see https://github.com/sparklemotion/nokogiri/issues/1238 for details
        NodeSet.new(document)
      end

      def inspect_attributes
        [:name]
      end
    end
  end
end

Version data entries

152 entries across 129 versions & 13 rubygems

Version Path
husc-0.1.1 vendor/bundle/gems/nokogiri-1.10.7/lib/nokogiri/xml/entity_reference.rb
husc-0.1.0 vendor/bundle/gems/nokogiri-1.10.7/lib/nokogiri/xml/entity_reference.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/entity_reference.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_reference.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/entity_reference.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/nokogiri-1.10.7/lib/nokogiri/xml/entity_reference.rb
nokogiri-1.10.7 lib/nokogiri/xml/entity_reference.rb
nokogiri-1.10.7-x86-mingw32 lib/nokogiri/xml/entity_reference.rb
nokogiri-1.10.7-x64-mingw32 lib/nokogiri/xml/entity_reference.rb
nokogiri-1.10.7-java lib/nokogiri/xml/entity_reference.rb
nokogiri-1.10.6 lib/nokogiri/xml/entity_reference.rb
nokogiri-1.10.6-x86-mingw32 lib/nokogiri/xml/entity_reference.rb
nokogiri-1.10.6-x64-mingw32 lib/nokogiri/xml/entity_reference.rb
nokogiri-1.10.6-java lib/nokogiri/xml/entity_reference.rb
tdiary-5.1.0 vendor/bundle/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_reference.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/entity_reference.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.3/lib/nokogiri/xml/entity_reference.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/nokogiri-1.10.5/lib/nokogiri/xml/entity_reference.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/entity_reference.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/nokogiri-1.10.4/lib/nokogiri/xml/entity_reference.rb