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

Only match stylesheet link nodes #26

Closed
wants to merge 3 commits into from
Closed

Only match stylesheet link nodes #26

wants to merge 3 commits into from

Conversation

leith
Copy link
Contributor

@leith leith commented Jan 28, 2014

If you have other link nodes (RSS feeds, favicons, etc), they will break with undefined index errors. This patch adds additional test nodes and forces a check for the required 'rel' attribute to be 'stylesheet'.

@christiaan
Copy link
Owner

I've squashed and merged the commits in master and tagged it as 1.2.3

@christiaan christiaan closed this Jan 28, 2014
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

2 participants