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 3fd9cac commit ed2cf22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service-global/template/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">
<title>Vue CLI App</title>
Expand Down
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 packages/@vue/cli-service/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 ed2cf22

Please sign in to comment.