Skip to content

Commit 0706cd4

Browse files
committed
doc: fix invalid HTML in doc template
Move the script tag for dark mode support inside the body tag.
1 parent 2ba8728 commit 0706cd4

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)