Skip to content

Commit 8007601

Browse files
authored
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: ![Screenshot from 2021-12-07 15-10-38](https://user-images.githubusercontent.com/3050060/145044653-b38fb679-da76-4890-853f-b696d8fdc06e.png) The problem was that we were telling tera to remove too many whitespace. r? ```@notriddle```
2 parents 514260c + 4dd3f4e commit 8007601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/templates/page.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
id="mainThemeStyle"> {#- -#}
2121
{%- for theme in themes -%}
2222
<link rel="stylesheet" type="text/css" {# -#}
23-
href="{{static_root_path | safe}}{{theme}}{{page.resource_suffix}}.css" {#- -#}
23+
href="{{static_root_path | safe}}{{theme}}{{page.resource_suffix}}.css" {# -#}
2424
{%- if theme == "light" -%}
2525
id="themeStyle"
2626
{%- else -%}

0 commit comments

Comments
 (0)