Skip to content

Commit

Permalink
doc: fix invalid HTML in doc template
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trott authored and targos committed May 1, 2021
1 parent e7bc379 commit e990b11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/template.html
Expand Up @@ -66,8 +66,7 @@ <h1>Node.js __VERSION__ Documentation</h1>
</div>
</div>
</div>
</body>
<script>
<script>
'use strict';
{
const kCustomPreference = 'customDarkTheme';
Expand Down Expand Up @@ -102,5 +101,6 @@ <h1>Node.js __VERSION__ Documentation</h1>
});
}
}
</script>
</script>
</body>
</html>

0 comments on commit e990b11

Please sign in to comment.