Skip to content

Commit

Permalink
fix: using lang attribute with empty string in html template (#5992)
Browse files Browse the repository at this point in the history
Fixes #5945

`lang="en"` may be wrong to users, use empty string instead. See : h5bp/html5-boilerplate#1542
  • Loading branch information
fangbinwei authored and haoqunjiang committed Jan 6, 2021
1 parent 5e67307 commit 1322afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator/template/public/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
2 changes: 1 addition & 1 deletion lib/config/index-default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down

0 comments on commit 1322afc

Please sign in to comment.