File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 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> {
637637 You need to enable Javascript be able to update your settings.\
638638 </section>\
639639 </noscript>\
640- <link rel=\" stylesheet\" type= \" text/css \" \
640+ <link rel=\" stylesheet\" \
641641 href=\" {static_root_path}{settings_css}\" >\
642642 <script defer src=\" {static_root_path}{settings_js}\" ></script>",
643643 static_root_path = page. get_static_root_path( ) ,
Original file line number Diff line number Diff line change @@ -184,7 +184,6 @@ function browserSupportsHistoryApi() {
184184function loadCss ( cssUrl ) {
185185 const link = document . createElement ( "link" ) ;
186186 link . href = cssUrl ;
187- link . type = "text/css" ;
188187 link . rel = "stylesheet" ;
189188 document . getElementsByTagName ( "head" ) [ 0 ] . appendChild ( link ) ;
190189}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ pub(crate) fn render<P: AsRef<Path>>(
5353
5454 let mut css = String :: new ( ) ;
5555 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}">"# )
5757 . expect ( "Writing to a String can't fail" ) ;
5858 }
5959
You can’t perform that action at this time.
0 commit comments