Skip to content

Commit b09595e

Browse files
authored
Merge pull request #524 from ut-code/format-codes
Format codes
2 parents 74c70c6 + 709a8dc commit b09595e

File tree

21 files changed

+133
-133
lines changed

21 files changed

+133
-133
lines changed

docs/3-web-servers/04-server/_samples/complex-html/main.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const app = express();
44
const names = ["田中", "鈴木", "佐藤"];
55
app.get("/", (request, response) => {
66
response.send(`
7-
<!DOCTYPE html>
7+
<!doctype html>
88
<html lang="ja">
99
<head>
1010
<meta charset="utf-8" />

docs/3-web-servers/04-server/_samples/server-or-client/main.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const app = express();
33

44
app.get("/", (request, response) => {
55
response.send(`
6-
<!DOCTYPE html>
6+
<!doctype html>
77
<html lang="ja">
88
<head>
99
<meta charset="utf-8" />

docs/3-web-servers/04-server/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const app = express();
161161
const names = ["田中", "鈴木", "佐藤"];
162162
app.get("/", (request, response) => {
163163
response.send(`
164-
<!DOCTYPE html>
164+
<!doctype html>
165165
<html lang="ja">
166166
<head>
167167
<meta charset="utf-8" />

docs/3-web-servers/05-form/_samples/book-search-system/template.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="ja">
33
<head>
44
<meta charset="UTF-8" />

docs/3-web-servers/06-get-post/_samples/bulletin-board/template.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="ja">
33
<head>
44
<meta charset="UTF-8" />

docs/3-web-servers/07-database/_samples/forum/template.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="ja">
33
<head>
44
<meta charset="utf-8" />
@@ -7,7 +7,7 @@
77
<body>
88
<ul>
99
<% for(const message of messages) { %>
10-
<li><%= message %></li>
10+
<li><%= message %></li>
1111
<% } %>
1212
</ul>
1313

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="ja">
3-
<head>
4-
<meta charset="utf-8" />
5-
<title>profile</title>
6-
</head>
7-
<body>
8-
<form method="post" action="/login">
9-
<input name="username">
10-
<input name="password" type="password">
11-
<button>ログイン</button>
12-
</form>
13-
<p><%= warning %></p>
14-
<a href="/resister">新規登録</a>
15-
</body>
16-
</html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>profile</title>
6+
</head>
7+
<body>
8+
<form method="post" action="/login">
9+
<input name="username" />
10+
<input name="password" type="password" />
11+
<button>ログイン</button>
12+
</form>
13+
<p><%= warning %></p>
14+
<a href="/resister">新規登録</a>
15+
</body>
16+
</html>
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="ja">
3-
<head>
4-
<meta charset="utf-8" />
5-
<title>profile</title>
6-
</head>
7-
<body>
8-
<p>ようこそ!<%= username %>さん!</p>
9-
<a href="/profile">プロフィールを表示</a>
10-
</body>
11-
</html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>profile</title>
6+
</head>
7+
<body>
8+
<p>ようこそ!<%= username %>さん!</p>
9+
<a href="/profile">プロフィールを表示</a>
10+
</body>
11+
</html>
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="ja">
3-
<head>
4-
<meta charset="utf-8" />
5-
<title>profile</title>
6-
</head>
7-
<body>
8-
<li>氏名:<%= name %></li>
9-
<li>年齢:<%= age %></li>
10-
<li>大学:<%= univ %></li>
11-
</body>
12-
</html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>profile</title>
6+
</head>
7+
<body>
8+
<li>氏名:<%= name %></li>
9+
<li>年齢:<%= age %></li>
10+
<li>大学:<%= univ %></li>
11+
</body>
12+
</html>
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="ja">
3-
<head>
4-
<meta charset="utf-8" />
5-
<title>profile</title>
6-
</head>
7-
<body>
8-
<form method="post" action="/resistered">
9-
<div>
10-
ユーザー名
11-
<input name="username">
12-
</div>
13-
<div>
14-
パスワード
15-
<input name="password" type="password">
16-
</div>
17-
<div>
18-
氏名
19-
<input name="name">
20-
</div>
21-
<div>
22-
年齢
23-
<input name="age">
24-
</div>
25-
<div>
26-
大学
27-
<input name="univ">
28-
</div>
29-
<button>新規登録</button>
30-
</form>
31-
<p><%= warning %></p>
32-
</body>
33-
</html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>profile</title>
6+
</head>
7+
<body>
8+
<form method="post" action="/resistered">
9+
<div>
10+
ユーザー名
11+
<input name="username" />
12+
</div>
13+
<div>
14+
パスワード
15+
<input name="password" type="password" />
16+
</div>
17+
<div>
18+
氏名
19+
<input name="name" />
20+
</div>
21+
<div>
22+
年齢
23+
<input name="age" />
24+
</div>
25+
<div>
26+
大学
27+
<input name="univ" />
28+
</div>
29+
<button>新規登録</button>
30+
</form>
31+
<p><%= warning %></p>
32+
</body>
33+
</html>

0 commit comments

Comments
 (0)