-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
fix: using lang
attribute with empty string in html template
#5992
Conversation
145e405
to
7d04553
Compare
This would fix my original issue in the way I thought about it, thx @fangbinwei 👍 |
@@ -1,5 +1,5 @@ | |||
<!DOCTYPE html> | |||
<html lang="en"> | |||
<html lang=""> |
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.
Being an empty attribute should be enough indication for developers to insert the correct language themselves.
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.
👍 very good insight
Fixes #5945 `lang="en"` may be wrong to users, use empty string instead. See : h5bp/html5-boilerplate#1542
Fixes #5945
lang="en"
may be wrong to users, use empty string instead. See : h5bp/html5-boilerplate#1542What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)