mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Auto merge of #95568 - GuillaumeGomez:fix-invalid-dom-generation, r=notriddle
Fix invalid DOM generation Fixes #64371. r? `@notriddle`
This commit is contained in:
commit
b6a34f35e5
@ -615,7 +615,7 @@ fn item_trait(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, t: &clean::Tra
|
||||
w.write_str(";\n");
|
||||
|
||||
if pos < required.len() - 1 {
|
||||
w.write_str("<div class=\"item-spacer\"></div>");
|
||||
w.write_str("<span class=\"item-spacer\"></span>");
|
||||
}
|
||||
}
|
||||
if !required.is_empty() && !provided.is_empty() {
|
||||
@ -641,7 +641,7 @@ fn item_trait(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, t: &clean::Tra
|
||||
}
|
||||
}
|
||||
if pos < provided.len() - 1 {
|
||||
w.write_str("<div class=\"item-spacer\"></div>");
|
||||
w.write_str("<span class=\"item-spacer\"></span>");
|
||||
}
|
||||
}
|
||||
if toggle {
|
||||
|
Loading…
Reference in New Issue
Block a user