Skip to content

Commit e990b11

Browse files
Trotttargos
authored andcommitted
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 <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent e7bc379 commit e990b11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/template.html

Lines changed: 3 additions & 3 deletions
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)