react-native-html-parser
react-native-html-parser copied to clipboard
querying for `link[rel=icon]` returns way too many nodes
As the title states when trying to get a documents favicon instead of getting a few items I get a lot of unrelated things, would you mind checking it?
// get the string html from https://www.youtube.com/watch?v=wuClZjOdT30
// expect to retrieve img/favicon_32-vflOogEID.png
doc.querySelect('link[rel=icon]') // returns like a 100 items