Nokogiri v1.4.3 Release Notes
Release Date: 2010-07-28 // over 13 years ago-
โ Added
XML::Reader#empty_element?
returns true for empty elements. #262- ๐
Node#remove_namespaces!
now removes namespace declarations as well. #294 NodeSet#at_xpath
,NodeSet#at_css
andNodeSet#>
do what the corresponding methods ofNode
do.
๐ Fixed
XML::NodeSet#{include?,delete,push}
accept anXML::Namespace
- ๐
XML::Document#parse
added for parsing in the context of a document - ๐
XML::DocumentFragment#inner_html=
works with contextual parsing! #298, #281 - ๐
lib/nokogiri/css/parser.y
Combined CSS functions + pseudo selectors fixed - ๐ Reparenting text nodes is safe, even when the operation frees adjacent merged nodes. #283
- ๐ Fixed libxml2 versionitis issue with
xmlFirstElementChild
et al. #303 XML::Attr#add_namespace
now works as expected. #252HTML::DocumentFragment
uses the string's encoding. #305- ๐ Fix the CSS3 selector translation rule for the general sibling combinator (a.k.a. preceding selector) that incorrectly converted "E ~ F G" to "//F//G[preceding-sibling::E]".