-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…ad of whole `<html ...>` tag if the `lang` attribute is missing (#4395)
- Loading branch information
1 parent
16a9b9e
commit 50ef807
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
<html></html>; // Noncompliant {{<html> elements must have the lang prop.}} | ||
<html lang="yolo"></html>; // Noncompliant {{lang attribute must have a valid value.}} | ||
<html></html>; // Noncompliant {{<html> elements must have the lang prop.}} | ||
// ^^^^ | ||
<html lang="yolo"></html>; // Noncompliant {{lang attribute must have a valid value.}} | ||
// ^^^^^^^^^^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters