You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can't match when querying by id contains periods:
let html = r#"<div id="foo.bar">baz</div>"#;
let nodes = parse(&html)?;
let selector = Selector::from("#foo.bar");
let element = nodes.query(&selector);
println!("{:?}", element);
// None
The text was updated successfully, but these errors were encountered:
You're absolutely right. I feel dumb xD, for a brief moment I forgot how css selectors works, this is a case of invalid id attribute of the html file I'm parsing.
We can't match when querying by id contains periods:
The text was updated successfully, but these errors were encountered: