Skip to content
Browse files

don't cast all values to strings; it's not always XML that's parsed

  • Loading branch information...
1 parent d7aff0c commit d652b01123e00992822b95d444dd2f0bbac014da @mislav committed Nov 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nibbler.rb
View
2 lib/nibbler.rb
@@ -57,7 +57,7 @@ def parse_result(node, delegate)
elsif node.respond_to? :inner_text
node.inner_text
else
- node.to_s
+ node
end unless node.nil?
end

0 comments on commit d652b01

Please sign in to comment.
Something went wrong with that request. Please try again.