Skip to content

Commit e990b11

Browse files
Trotttargos
authored andcommittedMay 1, 2021
doc: fix invalid HTML in doc template
Move the script tag for dark mode support inside the body tag. PR-URL: #36930 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e7bc379 commit e990b11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎doc/template.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ <h1>Node.js __VERSION__ Documentation</h1>
6666
</div>
6767
</div>
6868
</div>
69-
</body>
70-
<script>
69+
<script>
7170
'use strict';
7271
{
7372
const kCustomPreference = 'customDarkTheme';
@@ -102,5 +101,6 @@ <h1>Node.js __VERSION__ Documentation</h1>
102101
});
103102
}
104103
}
105-
</script>
104+
</script>
105+
</body>
106106
</html>

0 commit comments

Comments
 (0)