Nokogiri v1.4.4 Release Notes
Release Date: 2010-11-15 // over 13 years ago-
โ Added
XML::Node#children=
sets the node's inner html (much like #inner_html=), but returns the reparent node(s).- ๐ XSLT supports function extensions. #336
- XPath bind parameter substitution. #329
XML::Reader
node type constants. #369- ๐ SAX Parser context provides line and column information
๐ Fixed
XML::DTD#attributes
returns an empty hash instead of nil when there are no attributes.XML::DTD#{keys,each}
now work as expected. #324- ๐
{XML,HTML}::DocumentFragment.{new,parse}
no longer strip leading and trailing whitespace. #319 XML::Node#{add_child,add_previous_sibling,add_next_sibling,replace}
return aNodeSet
when passed a string.- ๐ Unclosed tags parsed more robustly in fragments. #315
XML::Node#{replace,add_previous_sibling,add_next_sibling}
edge cases fixed related to libxml's text node merging. #308- ๐ Fixed a segfault when GC occurs during xpath handler argument marshalling. #345
- โ Added hack to
Slop
decorator to work with previously defined methods. #330 - ๐ Fix a memory leak when duplicating child nodes. #353
- ๐ Fixed off-by-one bug with
nth-last-{child,of-type}
CSS selectors when NOT usingan+b
notation. #354 - ๐ Fixed passing of non-namespace attributes to
SAX::Document#start_element
. #356 - โช Workaround for libxml2 in-context parsing bug. #362
- ๐ Fixed
NodeSet#wrap
on nodes within a fragment. #331