ext/nokogiri/xml_entity_reference.c in nokogiri-maglev--1.5.3 vs ext/nokogiri/xml_entity_reference.c in nokogiri-maglev--1.5.4.20120815005250
- old
+ new
@@ -22,10 +22,10 @@
node = xmlNewReference(
xml_doc,
(const xmlChar *)StringValuePtr(name)
);
- NOKOGIRI_ROOT_NODE(node);
+ nokogiri_root_node(node);
rb_node = Nokogiri_wrap_xml_node(klass, node);
rb_obj_call_init(rb_node, argc, argv);
if(rb_block_given_p()) rb_yield(rb_node);