diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-08 16:08:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-08 16:08:12 +0100 |
| commit | 382426be34fe0d5fda38068bb60ed1ac06ebd4c8 (patch) | |
| tree | af6dac927b177d3de3ca96d52c01950c65ae6007 | |
| parent | 75e2f794dcfcdd6812070848e54651ec7fb8d740 (diff) | |
| parent | 4dd3f4e9ea820f0053abe624d2bdb3a8e4b10d5f (diff) | |
| download | rust-382426be34fe0d5fda38068bb60ed1ac06ebd4c8.tar.gz rust-382426be34fe0d5fda38068bb60ed1ac06ebd4c8.zip | |
Rollup merge of #91630 - GuillaumeGomez:missing-whitespace, r=notriddle
Add missing whitespace before disabled HTML attribute On the [w3c HTML checker](https://validator.w3.org/nu/#textarea), with the current generated HTML we get:  The problem was that we were telling tera to remove too many whitespace. r? ````@notriddle````
| -rw-r--r-- | src/librustdoc/html/templates/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html index 3c6f083419a..5c957e4a379 100644 --- a/src/librustdoc/html/templates/page.html +++ b/src/librustdoc/html/templates/page.html @@ -20,7 +20,7 @@ id="mainThemeStyle"> {#- -#} {%- for theme in themes -%} <link rel="stylesheet" type="text/css" {# -#} - href="{{static_root_path | safe}}{{theme}}{{page.resource_suffix}}.css" {#- -#} + href="{{static_root_path | safe}}{{theme}}{{page.resource_suffix}}.css" {# -#} {%- if theme == "light" -%} id="themeStyle" {%- else -%} |
