Skip to content

Commit 9bab94f

Browse files
Fix misuse of rev attribute on <a> tag
1 parent b919797 commit 9bab94f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustdoc/html/markdown.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,7 @@ impl<'a, I: Iterator<Item = SpannedEvent<'a>>> Iterator for Footnotes<'a, I> {
621621
is_paragraph = true;
622622
}
623623
html::push_html(&mut ret, content.into_iter());
624-
write!(ret, "&nbsp;<a href=\"#fnref{}\" rev=\"footnote\">↩</a>", id)
625-
.unwrap();
624+
write!(ret, "&nbsp;<a href=\"#fnref{}\">↩</a>", id).unwrap();
626625
if is_paragraph {
627626
ret.push_str("</p>");
628627
}

0 commit comments

Comments
 (0)