Skip to content

Commit

Permalink
Fix misuse of rev attribute on <a> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 15, 2021
1 parent b919797 commit 9bab94f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustdoc/html/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,7 @@ impl<'a, I: Iterator<Item = SpannedEvent<'a>>> Iterator for Footnotes<'a, I> {
is_paragraph = true;
}
html::push_html(&mut ret, content.into_iter());
write!(ret, "&nbsp;<a href=\"#fnref{}\" rev=\"footnote\">↩</a>", id)
.unwrap();
write!(ret, "&nbsp;<a href=\"#fnref{}\">↩</a>", id).unwrap();
if is_paragraph {
ret.push_str("</p>");
}
Expand Down

0 comments on commit 9bab94f

Please sign in to comment.