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 181
181
</a >
182
182
{{ /if }}
183
183
{{ #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 " >
185
185
<i id =" git-edit-button" class =" fa fa-edit" ></i >
186
186
</a >
187
187
{{ /if }}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ fn edit_url_template() {
8
8
BookTest :: from_dir ( "rendering/edit_url_template" ) . check_file_contains (
9
9
"book/index.html" ,
10
10
"<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 \" >",
12
12
) ;
13
13
}
14
14
@@ -18,7 +18,7 @@ fn edit_url_template_explicit_src() {
18
18
BookTest :: from_dir ( "rendering/edit_url_template_explicit_src" ) . check_file_contains (
19
19
"book/index.html" ,
20
20
"<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 \" >",
22
22
) ;
23
23
}
24
24
You can’t perform that action at this time.
0 commit comments