1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-27 04:38:36 +00:00

Allow file and directory names to contain percent character

This commit is contained in:
Vladimir Vissoultchev
2015-07-28 11:42:06 +03:00
parent 53bcf373c1
commit 167265d533
3 changed files with 4 additions and 4 deletions

View File

@@ -48,7 +48,7 @@
{{ $l := Subtract $n 1}}
{{range $i, $v := .Treenames}}
{{if eq $i $l}}
<span class="bread">{{EscapePound $v}}</span>
<span class="bread">{{$v}}</span>
{{else}}
<span class="bread"><a href="{{EscapePound $.BranchLink}}/{{index $.Paths $i}}">{{$v}}</a></span>
{{end}}