Skip to content

Allow to compare XML-Fragments in Strings#22

Open
marcoemrich wants to merge 1 commit intombklein:masterfrom
webmasters:master
Open

Allow to compare XML-Fragments in Strings#22
marcoemrich wants to merge 1 commit intombklein:masterfrom
webmasters:master

Conversation

@marcoemrich
Copy link
Copy Markdown
Contributor

Hi,

I found an issue when comparing Strings with NodeLists like "<h1>Headline</h1><h1>Headline</h1>"
and "<h1>Headline</h1><h2>Headline2</h2>". Everything after the first tag got ignored.

The new spec (in this patch) demonstrates the issue. This patch is a simple fix by utilizing Nokogiris Fragment-Parsing.

mbklein added a commit that referenced this pull request Jul 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant