Made getFaviconTag() more accurate #12

Merged
merged 1 commit into from Feb 13, 2012

Conversation

Projects
None yet
2 participants
Contributor

dahlia commented Feb 12, 2012

The rel attribute can consist of space-separated multiple values. For example, the following code couldn’t be detected in the previous code:

<link rel="shortcut icon" href="/favicon.ico" />
Made getFaviconTag() more accurate.
The `rel` attribute can consist of space-separated multiple values.
Owner

tommoor commented Feb 13, 2012

Good spot, i'll merge it in - thanks!

tommoor pushed a commit that referenced this pull request Feb 13, 2012

Tom Moor
Merge pull request #12 from StyleShare/master
getFaviconTag now detects link elements with multiple rel attributes.

@tommoor tommoor merged commit 3888ff9 into tommoor:master Feb 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment