lib/atom/xml/parser.rb in ratom-0.3.6 vs lib/atom/xml/parser.rb in ratom-0.3.7
- old
+ new
@@ -78,10 +78,10 @@
self[xml.namespace_uri, xml.local_name].as_attribute = true
self[xml.namespace_uri, xml.local_name] << xml.value
end
end
elsif self.respond_to?(:simple_extensions)
- self[xml.namespace_uri, xml.local_name] << xml.read_string
+ self[xml.namespace_uri, xml.local_name] << xml.read_inner_xml
end
end
break unless !options[:once] && xml.next == 1 && xml.depth >= starting_depth
end
end