File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -637,7 +637,7 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
637
637
You need to enable Javascript be able to update your settings.\
638
638
</section>\
639
639
</noscript>\
640
- <link rel=\" stylesheet\" type= \" text/css \" \
640
+ <link rel=\" stylesheet\" \
641
641
href=\" {static_root_path}{settings_css}\" >\
642
642
<script defer src=\" {static_root_path}{settings_js}\" ></script>",
643
643
static_root_path = page. get_static_root_path( ) ,
Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ function browserSupportsHistoryApi() {
184
184
function loadCss ( cssUrl ) {
185
185
const link = document . createElement ( "link" ) ;
186
186
link . href = cssUrl ;
187
- link . type = "text/css" ;
188
187
link . rel = "stylesheet" ;
189
188
document . getElementsByTagName ( "head" ) [ 0 ] . appendChild ( link ) ;
190
189
}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ pub(crate) fn render<P: AsRef<Path>>(
53
53
54
54
let mut css = String :: new ( ) ;
55
55
for name in & options. markdown_css {
56
- write ! ( css, r#"<link rel="stylesheet" type="text/css" href="{name}">"# )
56
+ write ! ( css, r#"<link rel="stylesheet" href="{name}">"# )
57
57
. expect ( "Writing to a String can't fail" ) ;
58
58
}
59
59
You can’t perform that action at this time.
0 commit comments