Skip to content

Commit 4e0cafe

Browse files
committed
Fixes #1192, adds lang=en to all html files
1 parent 8709215 commit 4e0cafe

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

client/modules/IDE/reducers/files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function draw() {
1111

1212
const defaultHTML =
1313
`<!DOCTYPE html>
14-
<html>
14+
<html lang="en">
1515
<head>
1616
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/p5.js"></script>
1717
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/addons/p5.sound.min.js"></script>

server/scripts/examples-gg-latest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const clientSecret = process.env.GITHUB_SECRET;
1919

2020
const defaultHTML =
2121
`<!DOCTYPE html>
22-
<html>
22+
<html lang="en">
2323
<head>
2424
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.min.js"></script>
2525
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/addons/p5.dom.min.js"></script>

server/scripts/examples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Project from '../models/project';
99

1010
const defaultHTML =
1111
`<!DOCTYPE html>
12-
<html>
12+
<html lang="en">
1313
<head>
1414
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/p5.js"></script>
1515
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.10.2/addons/p5.sound.min.js"></script>

server/views/404Page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export function get404Sketch(callback) {
127127
});
128128
} else {
129129
callback(insertErrorMessage(`<!DOCTYPE html>
130-
<html>
130+
<html lang="en">
131131
<head>
132132
<meta charset="utf-8" />
133133
</head>

server/views/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export function renderIndex() {
22
const assetsManifest = process.env.webpackAssets && JSON.parse(process.env.webpackAssets);
33
return `
44
<!DOCTYPE html>
5-
<html>
5+
<html lang="en">
66
<head>
77
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0">

0 commit comments

Comments
 (0)