-
Notifications
You must be signed in to change notification settings - Fork 116
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
Use head/body tags in redirection markup #233
base: master
Are you sure you want to change the base?
Conversation
Rebased off latest master |
Updated the PR name to reflect that! You’re right that they can be omitted according to the spec; html-validate is being more strict than the spec here. Also, interestingly, the Google style guide recommends their omission. |
@cmbuckley Yep, I saw the Google recommendation as well. Thanks for posting a link here. Also, is |
html-validate only validates HTML5 documents, but they do state strictness as a design choice. I can see either side here; the PR isn’t strictly necessary and the validation rules can be set to warn-only, but I would struggle to consider this an “optimisation” and it would be nice to keep the validator rules for other parts of the content model. I haven’t found a nice way to exclude specific files from the validator. |
Co-authored-by: Stuart <[email protected]> Co-authored-by: Chris Buckley <[email protected]>
Running a Netlify plugin using html-validate fires warnings against redirect pages.