about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-27 14:33:04 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-06-27 14:33:04 +0200
commitb8e4c54ffb38885a9abd11ce2903af85cb62861f (patch)
tree481043d54919fb79e5a9228fa640b30042fee9d5 /src
parent95978b302cedaa03499fb4273b2e7e85112707c6 (diff)
downloadrust-b8e4c54ffb38885a9abd11ce2903af85cb62861f.tar.gz
rust-b8e4c54ffb38885a9abd11ce2903af85cb62861f.zip
Fix invalid HTML DIV tag used in HEAD
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/templates/page.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html
index 759c4fd6012..24f045f5ce3 100644
--- a/src/librustdoc/html/templates/page.html
+++ b/src/librustdoc/html/templates/page.html
@@ -24,7 +24,7 @@
       {% endfor %}
     ></script> {# #}
     {% endif %}
-    <div id="rustdoc-vars" {#+ #}
+    <meta id="rustdoc-vars" {#+ #}
          data-root-path="{{page.root_path|safe}}" {#+ #}
          data-static-root-path="{{static_root_path|safe}}" {#+ #}
          data-current-crate="{{layout.krate}}" {#+ #}
@@ -39,7 +39,6 @@
          data-theme-dark-css="{{files.theme_dark_css}}" {#+ #}
          data-theme-ayu-css="{{files.theme_ayu_css}}" {#+ #}
     > {# #}
-    </div> {# #}
     <script src="{{static_root_path|safe}}{{files.storage_js}}"></script> {# #}
     {% if page.css_class.contains("crate") %}
     <script defer src="{{page.root_path|safe}}crates{{page.resource_suffix}}.js"></script> {# #}