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

Remove unneccessary refs to type attr in helper output snippets #1706

Merged
merged 2 commits into from
Jan 11, 2016

Conversation

brycepj
Copy link
Contributor

@brycepj brycepj commented Jan 9, 2016

See Issue #1695

Bryce Johnson added 2 commits January 9, 2016 06:02
See Issue hexojs#1695: hexojs#1695

Also see the HTML5 Spec section on the type attr:

http://dev.w3.org/html5/spec-preview/Overview.html#attr-link-type

In short, the use of type tags is purely advisory, and the
spec instructs browsers to infer the resource type before fetching
them. In cases where the inference does not match the declaration,
the resource will not be loaded. When the declaration is left off,
the resource will load. It appears generally safer to leave the tags
off entirely.
Xuanwo pushed a commit that referenced this pull request Jan 11, 2016
Remove unneccessary refs to type attr in helper output snippets
@Xuanwo Xuanwo merged commit 93fcdb5 into hexojs:master Jan 11, 2016
@brycepj
Copy link
Contributor Author

brycepj commented Jan 11, 2016

Sounds good -- thank you!

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