fedexx2 / html-parser

1 stars 0 forks source link

Not working with uppercase selectors #2

Open pensiero opened 7 years ago

pensiero commented 7 years ago

When running $table = $root->find('.TLB-container'); on

...
<table class="TLB-container">...</table>
...

nothing is found. But it works if the html code is:

...
<table class="tlb-container">...</table>
...
pensiero commented 7 years ago

I think it's because of this line: https://github.com/fedexx2/html-parser/blob/master/src/HtmlParser/Selector.php#L39

In case, is it necessary?