Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Quote bugfix #47

Closed

Conversation

mehmetcansahin
Copy link
Contributor

@mehmetcansahin mehmetcansahin commented Aug 25, 2022

src/queryselector/parser.rs Outdated Show resolved Hide resolved
@y21
Copy link
Owner

y21 commented Aug 25, 2022

Can you also apply this logic to the Some(c @ b'~' | c @ b'^' | c @ b'$' | c @ b'*') => { match arm, so it also accepts quotes in p[id~="test"]?

mehmetcansahin and others added 2 commits August 25, 2022 19:53
Co-authored-by: Timo <30553356+y21@users.noreply.github.com>
@mehmetcansahin
Copy link
Contributor Author

Thanks for your suggestion. I applied it on the other match arm (Some(c @ b'~' | c @ b'^' | c @ b'$' | c @ b'*').

Copy link
Owner

@y21 y21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! Looks good
bors r+

bors bot pushed a commit that referenced this pull request Aug 25, 2022
related: [query_selector cannot parse meta[property=og:title]](#46)

Co-authored-by: mehmetcan <2010841+mehmetcansahin@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Aug 25, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title Quote bugfix [Merged by Bors] - Quote bugfix Aug 25, 2022
@bors bors bot closed this Aug 25, 2022
@mehmetcansahin mehmetcansahin deleted the query_selector_quote branch August 25, 2022 17:15
@y21
Copy link
Owner

y21 commented Aug 25, 2022

I published a new version on crates.io with this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants