AngleSharp / AngleSharp.Diffing

A library that makes it possible to compare two AngleSharp node lists and get a list of differences between them.
MIT License
37 stars 6 forks source link

Path-indexes in sources should only include elements #6

Closed egil closed 4 years ago

egil commented 4 years ago

The indexes used in paths are node based. But since the path is css selector like, empty text nodes confuse the end user.

At the very least empty text nodes should be excluded, but for consistency it might be better only to use element when counting the index in paths.