HtmlAgilityPack.CssSelectors.NetCore icon indicating copy to clipboard operation
HtmlAgilityPack.CssSelectors.NetCore copied to clipboard

CssSelector doesn't support the combination of ">" and nth-child() selector

Open franva opened this issue 4 years ago • 1 comments

First of all, I would like to thank you for making this great library :)

Here is what I found image

I tried the same css selector in browser Developer Tools in FireFox and it works.

franva avatar Mar 29 '20 03:03 franva

The two most recent fixes that have been merged (from back in 2019 & 2021) could potentially resolve the issue(s) that cause the behavior you describe. However, a new version of the package has not been published to include these changes.

Here are the changes that I'm referring to:

  1. https://github.com/trenoncourt/HtmlAgilityPack.CssSelectors.NetCore/commit/7537c41ae2e0460c4e90aa51cc44957cd4f38cc4
  2. https://github.com/trenoncourt/HtmlAgilityPack.CssSelectors.NetCore/commit/fdbfbd676f0ff24ca9add71841d4814abfe7d24c

BoricuaEnLaLuna avatar Jul 17 '22 07:07 BoricuaEnLaLuna