Skip to content

Commit 95ac361

Browse files
monicatiegigabo
authored andcommitted
Add english as the default document language as a start. (redfin#944)
Add english as the default document language
1 parent a061e82 commit 95ac361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-server/core/renderMiddleware.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ function writeHeader(req, res, context, start, pageObject) {
307307
res.type('html');
308308
res.set('Transfer-Encoding', 'chunked');
309309

310-
res.write("<!DOCTYPE html><html><head>");
310+
res.write('<!DOCTYPE html><html lang="en"><head>');
311311

312312
// note: these responses can currently come back out-of-order, as many are returning
313313
// promises. scripts and stylesheets are guaranteed

0 commit comments

Comments
 (0)