diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index 6ff3917a265ed..acf019fd2254d 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -157,11 +157,11 @@ pub fn render(
window.rootPath = \"{root_path}\";\
window.currentCrate = \"{krate}\";\
\
- \
+ \
\
{static_extra_scripts}\
{extra_scripts}\
- \
+ \