summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/issue/list.tmpl')
-rw-r--r--templates/repo/issue/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index b4c2d88bfd..41f90b1c13 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -246,7 +246,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}}