donespirit / ganon

Automatically exported from code.google.com/p/ganon
0 stars 0 forks source link

Multiple classes not supported in selector? #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have an element containing both classes, and Ganon won't parse them both...

$body = $html->select("div.container.ageGate", 0);
echo gettype($body); //OUTPUT: NULL

$body = $html->select("div.ageGate", 0);
echo gettype($body); //OUTPUT: OBJECT

Original issue reported on code.google.com by Hudyl...@gmail.com on 11 Aug 2014 at 5:11