vkononov / compare-xml

CompareXML is a fast, lightweight and feature-rich tool that will solve your XML/HTML comparison or diffing needs. its purpose is to compare two instances of Nokogiri::XML::Node or Nokogiri::XML::NodeSet for equality or equivalency.
MIT License
12 stars 3 forks source link

How can this be possible? #7

Open Nakilon opened 2 weeks ago

Nakilon commented 2 weeks ago
irb(main):132:0> CompareXML.equivalent? a, b, collapse_whitespace: true, verbose: true
=> []
irb(main):133:0> CompareXML.equivalent? a, b, collapse_whitespace: true
=> false
vkononov commented 2 weeks ago

This gem was actually written over 8 years ago, back when I was a rookie developer. If you're up for it, I'd love a pull request to resolve this issue.