Skip to content

Commit

Permalink
Fix broken link to branch from issue list (go-gitea#9003)
Browse files Browse the repository at this point in the history
* Fix broken link to branch from issue list

* Update templates/repo/issue/list.tmpl
  • Loading branch information
Vedran authored and 6543 committed Nov 15, 2019
1 parent 3487fb6 commit 31a4c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 31a4c73

Please sign in to comment.