Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ed2cf22

Browse filesBrowse 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
Copy full SHA for ed2cf22

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed

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

Copy file name to clipboardExpand all lines: packages/@vue/cli-service-global/template/index.html
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: packages/@vue/cli-service/generator/template/public/index.html
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: packages/@vue/cli-service/lib/config/index-default.html
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.