fix spurious </span> appearing before the opening tag
This commit is contained in:
parent
4a6921e10e
commit
c6ab68528a
@ -205,7 +205,7 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
}
|
||||
}
|
||||
if !f.alternate() {
|
||||
f.write_str("</span>")?;
|
||||
clause.push_str("</span>");
|
||||
let plain = format!("{:#}", self);
|
||||
if plain.len() > 80 {
|
||||
let padding = repeat(" ").take(8).collect::<String>();
|
||||
|
Loading…
Reference in New Issue
Block a user