Sha256: 4894e23b41f1af22a3df05ad17b65be1177f57256aaf4f9f3321018d80319860

Contents?: true

Size: 530 Bytes

Versions: 459

Compression:

Stored size: 530 Bytes

Contents

# frozen_string_literal: true

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

459 entries across 457 versions & 11 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/nokogiri-1.16.6-x86_64-linux/lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-x86_64-linux-musl lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-x86_64-linux-gnu lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-x86_64-darwin lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-x64-mingw-ucrt lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-java lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1 lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-arm-linux-musl lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-arm-linux-gnu lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-arm64-darwin lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-aarch64-linux-musl lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.1-aarch64-linux-gnu lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.0-x86_64-linux-musl lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.0-x86_64-linux-gnu lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.0-x86_64-darwin lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.0-x64-mingw-ucrt lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.0-java lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.0 lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.0-arm-linux-musl lib/nokogiri/xml/entity_reference.rb
nokogiri-1.18.0-arm-linux-gnu lib/nokogiri/xml/entity_reference.rb