-
Notifications
You must be signed in to change notification settings - Fork 27k
refactor: standardize doctype declaration to <!DOCTYPE html> #51052
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
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
e4f6afb to
e29958a
Compare
e29958a to
e489f62
Compare
|
@ptu14 Looks like this needs a rebase. |
40c0baa to
b5e7fd2
Compare
done |
|
Hi, could you rebase it again ? thx ! |
b5e7fd2 to
4abd791
Compare
This commit standardizes the doctype declaration across all HTML files in the project to use `<!DOCTYPE html>`
4abd791 to
ccbf97f
Compare
sure, a lot of DOCTYPE have been added since then 😅 |
alxhub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-for: global-approvers
This commit standardizes the doctype declaration across all HTML files in the project to use `<!DOCTYPE html>` PR Close #51052
|
This PR was merged into the repository by commit de777af. |
|
Adding a note, as we're moving to prettier we're going to encounter some issues with it. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
Currently, the Angular codebase contains different variations of the DOCTYPE declaration including
<!doctype html>,<!DOCTYPE html>and<!DOCTYPE HTML>. Though these are all technically correct as the DOCTYPE is case-insensitive, they lead to inconsistency in the codebase.What is the new behavior?
This PR proposes to standardize the DOCTYPE declaration across the codebase to , as recommended by the official HTML Living Standard documentation by WHATWG (https://html.spec.whatwg.org/multipage/syntax.html#the-doctype). It helps to present the codebase in a more standardized and aligned way with the industry best practices.
Does this PR introduce a breaking change?
Other information
Although this may seem like a minor detail, the standardization of these declarations adds to the overall quality and consistency of the project. This change was implemented using a find-and-replace command (cmd + R), so feel free to make any further changes, or alter the target merge branch if necessary.
I kindly request you to consider this PR for merging.
Thank you for your time and consideration.
Best Regards,
Mateusz