Skip to content

Commit 6aa2e0f

Browse files
GuillaumeGomezNemo157
authored andcommitted
Fix missing vendored stylesheet insertion
1 parent eccb789 commit 6aa2e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/html.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub(crate) fn rewrite_lol(
6969
// Append `vendored.css` before `rustdoc.css`, so that the duplicate copy of
7070
// `normalize.css` will be overridden by the later version.
7171
element!(
72-
"link[type='text/css'][href*='rustdoc']",
72+
"link[rel='stylesheet'][href*='rustdoc']",
7373
|rustdoc_css: &mut Element| {
7474
rustdoc_css.before(&tera_vendored_css, ContentType::Html);
7575
Ok(())

0 commit comments

Comments
 (0)