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

FSE: Coding standards: DOCTYPE should be the first line/character of any HTML document #35442

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

audrasjb
Copy link
Contributor

@audrasjb audrasjb commented Oct 7, 2021

Description

On Twenty Twenty-Two, I spotted that the DOCTYPE of HTML pages is generated after an empty line.
According to the HTML specification/living standard, the DOCTYPE should be the very first element of the document.

How has this been tested?

Using Twenty Twenty-Two Full site editing templates.

Types of changes

That's a small fix 😊

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • I've tested my changes with keyboard and screen readers.
  • [] My code has proper inline documentation.
  • [] I've included developer documentation if appropriate.
  • [] I've updated all React Native files affected by any refactorings/renamings in this PR (please manually search all *.native.js files for terms that need renaming or removal).

@carolinan carolinan merged commit a8d9e67 into WordPress:trunk Oct 8, 2021
@github-actions github-actions bot added this to the Gutenberg 11.8 milestone Oct 8, 2021
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