mbklein/equivalent-xml — pull request #22 by marcoemrich (2014-07-15 13:15:57+00:00)
Title: Allow to compare XML-Fragments in Strings

Hi,

I found an issue when comparing Strings with NodeLists like "

Headline

Headline

"
and "

Headline

Headline2

". Everything after the first tag got ignored.

The new spec below demonstrates the issue. This patch is a simple fix by utilizing Nokogiris Fragment-Parsing.