Nokogiri v1.2.2 Release Notes

Release Date: 2009-03-14 // about 15 years ago
  • โž• Added

    • ๐Ÿ‘€ Nokogiri may be used with soap4r. See XSD::XMLParser::Nokogiri
    • Nokogiri::XML::Node#inner_html= to set the inner html for a node
    • ๐Ÿ— Nokogiri builder interface improvements
    • Nokogiri::XML::Node#swap swaps html for current node (LH #50)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a tag nesting problem in the Builder API (LH #41)
    • Nokogiri::HTML.fragment will properly handle text only nodes (LH #43)
    • Nokogiri::XML::Node#before will prepend text nodes (LH #44)
    • Nokogiri::XML::Node#after will append text nodes
    • Nokogiri::XML::Node#search automatically registers root namespaces (LH #42)
    • Nokogiri::XML::NodeSet#search automatically registers namespaces
    • Nokogiri::HTML::NamedCharacters delegates to libxml2
    • Nokogiri::XML::Node#[] can take a symbol (LH #48)
    • โšก๏ธ vasprintf for windows updated. Thanks Geoffroy Couprie!
    • Nokogiri::XML::Node#[]= should not encode entities (LH #55)
    • Namespaces should be copied to reparented nodes (LH #56)
    • 0๏ธโƒฃ Nokogiri uses encoding set on the string for default in Ruby 1.9
    • Document#dup should create a new document of the same type (LH #59)
    • Document should not have a parent method (LH #64)