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

fix(text selector): do not match text inside <head> #2413

Merged
merged 1 commit into from May 29, 2020
Merged

fix(text selector): do not match text inside <head> #2413

merged 1 commit into from May 29, 2020

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented May 29, 2020

We already skip <script> and <style> tags because they are not the page content. Similar reasoning applies to <head> that has content that is never rendered on the page.

See #2356.

We already skip <script> and <style> tags because they are not
the page content. Similar reasoning applies to <head> that has
content that is never rendered on the page.
@mxschmitt
Copy link
Member

Great finding! 👍

@dgozman dgozman merged commit 8e4a1e7 into microsoft:master May 29, 2020
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.

None yet

3 participants