css selector not working for element having two classes
mdafzal opened this issue · comments
Consider anchor tag with two classes like a class="class1 class2"
get('a.class2') method is not selecting the above anchor tag
Did you found what caused this problem?
I was using your amazing nokogiri script in one of my wordpress sites to filter the content before it is sent to the browser. I opened this issue when get method was unable to find any content as explained in the issue.
But, I must apologize that the issue was not with script. Later, I found that class2 was being added at the front-end by javascript. Thanks for responding