diff options
author | Vedran <vedran.mikov@protonmail.com> | 2019-11-15 12:38:54 +0100 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-11-15 11:38:54 +0000 |
commit | 97dc314652422d392b26e7ea1ef3991903c6f22c (patch) | |
tree | 7c4a054d57ce2ef4e2df9b52a6ed173a3b9a4a3a /templates/repo/issue/list.tmpl | |
parent | c0c26240795bee28d2601296013c81db81bbd32c (diff) | |
download | gitea-97dc314652422d392b26e7ea1ef3991903c6f22c.tar.gz gitea-97dc314652422d392b26e7ea1ef3991903c6f22c.zip |
Fix broken link to branch from issue list (#9003)
* Fix broken link to branch from issue list
* Update templates/repo/issue/list.tmpl
Co-Authored-By: mrsdizzie <info@mrsdizzie.com>
* apply @mrsdizzie's review
Diffstat (limited to 'templates/repo/issue/list.tmpl')
-rw-r--r-- | templates/repo/issue/list.tmpl | 2 |
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}} |