Closed Gurimarukin closed 5 years ago
@Gurimarukin thank you for open the issue, and sorry for the delay.
I think it's something related with how we split the things here: https://github.com/philss/floki/blob/master/lib/floki/selector/attribute_selector.ex#L41
I'll try to fix this issue. :)
@fcapovilla Thank you for the PR! :purple_heart:
I'm going to test it this week. It looks like it fixes the problem :)
It seems that in the meantime, HTTPoison
changed something, because I can't reproduce the bug on the body returned from it. (The scraped page still have the weird tabs.)
Anyway, thanks for the answer!
Closed by #226. Thank you!
Hi!
I came across a strange case where selectors weren't working as expected:
If we escape the tabs:
I confess, this is a case where the class attribute isn't well formatted. But it's the case in the page I'm scrapping from, so I thought it would be interesting to share it here.