Skip to content

Commit e8950c1

Browse files
committed
Fix rendering of next link in last chapter
1 parent f301782 commit e8950c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/render_html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let chapters = fs.readdirSync(__dirname + "/..")
2929
.filter(file => /^\d{2}_\w+\.md$/.test(file))
3030
.sort()
3131
.map(file => /^\d{2}_(\w+)\.md$/.exec(file)[1])
32-
.concat(['hints'])
32+
if (epub) chapters.push("hints")
3333

3434
function escapeChar(ch) {
3535
return ch == "<" ? "&lt;" : ch == ">" ? "&gt;" : ch == "&" ? "&amp;" : "&quot;"

0 commit comments

Comments
 (0)