File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 181181 </a >
182182 {{ /if }}
183183 {{ #if git_repository_edit_url }}
184- <a href =" {{ git_repository_edit_url }} " title =" Suggest an edit" aria-label =" Suggest an edit" >
184+ <a href =" {{ git_repository_edit_url }} " title =" Suggest an edit" aria-label =" Suggest an edit" rel = " edit " >
185185 <i id =" git-edit-button" class =" fa fa-edit" ></i >
186186 </a >
187187 {{ /if }}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ fn edit_url_template() {
88 BookTest :: from_dir ( "rendering/edit_url_template" ) . check_file_contains (
99 "book/index.html" ,
1010 "<a href=\" https://github.com/rust-lang/mdBook/edit/master/guide/src/README.md\" \
11- title=\" Suggest an edit\" aria-label=\" Suggest an edit\" >",
11+ title=\" Suggest an edit\" aria-label=\" Suggest an edit\" rel= \" edit \" >",
1212 ) ;
1313}
1414
@@ -18,7 +18,7 @@ fn edit_url_template_explicit_src() {
1818 BookTest :: from_dir ( "rendering/edit_url_template_explicit_src" ) . check_file_contains (
1919 "book/index.html" ,
2020 "<a href=\" https://github.com/rust-lang/mdBook/edit/master/guide/src2/README.md\" \
21- title=\" Suggest an edit\" aria-label=\" Suggest an edit\" >",
21+ title=\" Suggest an edit\" aria-label=\" Suggest an edit\" rel= \" edit \" >",
2222 ) ;
2323}
2424
You can’t perform that action at this time.
0 commit comments