Fix broken link to branch from issue list (#9003) (#9021)

* Fix broken link to branch from issue list

* Update templates/repo/issue/list.tmpl
This commit is contained in:
6543 2019-11-15 15:10:28 +01:00 committed by zeripath
parent fd461ca555
commit 880f26c7f0
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@
</a>
{{end}}
{{if .Ref}}
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}">
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref | PathEscapeSegments}}">
<span class="octicon octicon-git-branch"></span> {{.Ref}}
</a>
{{end}}