Nokogiri v1.4.5 Release Notes
Release Date: 2011-05-19 // almost 13 years ago-
โ Added
Nokogiri::HTML::Document#title
accessor gets and sets the document title.- ๐จ extracted sets of
Node::SaveOptions
intoNode::SaveOptions::DEFAULT_{X,H,XH}TML
(refactor) - ๐ป Raise an exception if a string is passed to
Nokogiri::XML::Schema#validate
. #406
๐ Fixed
Node#serialize
-and-friends now accepts aSaveOption
object as the, erm, save object.- ๐
Nokogiri::CSS::Parser
has-aNokogiri::CSS::Tokenizer
- ๐ (JRUBY+FFI only) Weak references are now threadsafe. #355
- ๐ Make direct
start_element()
callback (currently used forHTML::SAX::Parser
) pass attributes in assoc array, just as emulatedstart_element()
callback does. rel. #356 - ๐
HTML::SAX::Parser
should call back a block given toparse*()
if any, just asXML::SAX::Parser
does. - โ Add further encoding detection to HTML parser that libxml2 does not do.
- ๐
Document#remove_namespaces!
now handles attributes with namespaces. #396 - ๐
XSLT::Stylesheet#transform
no longer segfaults when handed a non-XML::Document
. #452 XML::Reader
no longer segfaults when under GC pressure. #439