Skip to content

Commit 97dc314

Browse files
Vedranzeripath
Vedran
authored andcommitted
Fix broken link to branch from issue list (#9003)
* Fix broken link to branch from issue list * Update templates/repo/issue/list.tmpl Co-Authored-By: mrsdizzie <info@mrsdizzie.com> * apply @mrsdizzie's review
1 parent c0c2624 commit 97dc314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
</a>
247247
{{end}}
248248
{{if .Ref}}
249-
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}">
249+
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref | PathEscapeSegments}}">
250250
<span class="octicon octicon-git-branch"></span> {{.Ref}}
251251
</a>
252252
{{end}}

0 commit comments

Comments
 (0)