Skip to content

Commit 2373df1

Browse files
authored
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 2039117 commit 2373df1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: 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>

Diff for: 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">

Diff for: 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)