Fix invalid DOM generation
This commit is contained in:
parent
0677edc86e
commit
6f3d988418
1 changed files with 2 additions and 2 deletions
|
@ -615,7 +615,7 @@ fn item_trait(w: &mut Buffer, cx: &Context<'_>, it: &clean::Item, t: &clean::Tra
|
||||||
w.write_str(";\n");
|
w.write_str(";\n");
|
||||||
|
|
||||||
if pos < required.len() - 1 {
|
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() {
|
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 {
|
if pos < provided.len() - 1 {
|
||||||
w.write_str("<div class=\"item-spacer\"></div>");
|
w.write_str("<span class=\"item-spacer\"></span>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if toggle {
|
if toggle {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue