Browse Source

Escape branch name in dropdown menu (#3691)

Signed-off-by: Jonas Franz <info@jonasfranz.software>
tags/v1.5.0-dev
Jonas Franz Lunny Xiao 7 years ago
parent
commit
a0670e0049
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/repo/branch_dropdown.tmpl

+ 2
- 2
templates/repo/branch_dropdown.tmpl View File

@@ -47,9 +47,9 @@
</div> </div>
<div class="text small"> <div class="text small">
{{if .IsViewBranch}} {{if .IsViewBranch}}
{{.i18n.Tr "repo.branch.create_from" .BranchName | Safe}}
{{.i18n.Tr "repo.branch.create_from" .BranchName}}
{{else}} {{else}}
{{.i18n.Tr "repo.branch.create_from" (ShortSha .BranchName) | Safe}}
{{.i18n.Tr "repo.branch.create_from" (ShortSha .BranchName)}}
{{end}} {{end}}
</div> </div>
</a> </a>


Loading…
Cancel
Save