Skip to content

Commit ed2cf22

Browse files
fangbinweihaoqunjiang
authored andcommitted
fix: using lang attribute with empty string in html template (#5992)
Fixes #5945 `lang="en"` may be wrong to users, use empty string instead. See : h5bp/html5-boilerplate#1542
1 parent 3fd9cac commit ed2cf22

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/@vue/cli-service-global/template/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="">
33
<head>
44
<meta charset="utf-8">
55
<title>Vue CLI App</title>

packages/@vue/cli-service/generator/template/public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">

packages/@vue/cli-service/lib/config/index-default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">

0 commit comments

Comments
 (0)