Skip to content

Commit 31a4c73

Browse files
Vedran6543
Vedran
authored andcommitted
Fix broken link to branch from issue list (go-gitea#9003)
* Fix broken link to branch from issue list * Update templates/repo/issue/list.tmpl
1 parent 3487fb6 commit 31a4c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/list.tmpl

Lines changed: 1 addition & 1 deletion
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)