Rollup merge of #87154 - GuillaumeGomez:rev-attr-a, r=JohnTitor
Fix misuse of rev attribute on <a> tag The `rev` attribute is supposed to talk about "ownership" as far as I could found out. This attribute seems not very well defined in the HTML spec and its usage in rustdoc is suboptimal. It was found out in https://github.com/rust-lang/rust/pull/87149. r? `@JohnTitor`
This commit is contained in:
commit
262a4f99c1
@ -621,8 +621,7 @@ fn next(&mut self) -> Option<Self::Item> {
|
||||
is_paragraph = true;
|
||||
}
|
||||
html::push_html(&mut ret, content.into_iter());
|
||||
write!(ret, " <a href=\"#fnref{}\" rev=\"footnote\">↩</a>", id)
|
||||
.unwrap();
|
||||
write!(ret, " <a href=\"#fnref{}\">↩</a>", id).unwrap();
|
||||
if is_paragraph {
|
||||
ret.push_str("</p>");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user