mbklein / equivalent-xml

Easy equivalency tests for Nokogiri and Oga XML
MIT License
94 stars 29 forks source link

Mixing elements and text nodes causes incorrect results #1

Closed mbklein closed 13 years ago

mbklein commented 13 years ago

Text nodes and Element nodes that are siblings are not evaluated properly for equivalence:

<phrase>
  For example, a phrase <b>with some bold text</b> in the middle.
</phrase>
mbklein commented 13 years ago

Actually, it unexpectedly works as it should. Never mind.