Skip to content

Commit 2512555

Browse files
oantorodougwilson
authored andcommitted
Fix incorrect end tag in redirects
closes #100
1 parent 1e02a06 commit 2512555

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

HISTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
unreleased
22
==========
33

4+
* Fix incorrect end tag in redirects
45
* deps: encodeurl@~1.0.2
56
- Fix encoding `%` as last character
67
7-
- Fix incorrect end tag in default error & redirects
88
- deps: depd@~1.1.2
99
- deps: encodeurl@~1.0.2
1010
- deps: statuses@~1.4.0

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ function createHtmlDocument (title, body) {
159159
'</head>\n' +
160160
'<body>\n' +
161161
'<pre>' + body + '</pre>\n' +
162-
'</body>\n'
162+
'</body>\n' +
163+
'</html>\n'
163164
}
164165

165166
/**

0 commit comments

Comments
 (0)