Skip to content

Commit 880f26c

Browse files
6543zeripath
authored andcommitted
Fix broken link to branch from issue list (#9003) (#9021)
* Fix broken link to branch from issue list * Update templates/repo/issue/list.tmpl
1 parent fd461ca commit 880f26c

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
@@ -245,7 +245,7 @@
245245
</a>
246246
{{end}}
247247
{{if .Ref}}
248-
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref}}">
248+
<a class="ref" href="{{$.RepoLink}}/src/branch/{{.Ref | PathEscapeSegments}}">
249249
<span class="octicon octicon-git-branch"></span> {{.Ref}}
250250
</a>
251251
{{end}}

0 commit comments

Comments
 (0)