Escape branch name in dropdown menu (#3692)
Signed-off-by: Jonas Franz <info@jonasfranz.software> (cherry picked from commit 61ce616) Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
parent
3022681432
commit
68134e6441
1 changed files with 2 additions and 2 deletions
|
@ -47,9 +47,9 @@
|
|||
</div>
|
||||
<div class="text small">
|
||||
{{if .IsViewBranch}}
|
||||
{{.i18n.Tr "repo.branch.create_from" .BranchName | Safe}}
|
||||
{{.i18n.Tr "repo.branch.create_from" .BranchName}}
|
||||
{{else}}
|
||||
{{.i18n.Tr "repo.branch.create_from" (ShortSha .BranchName) | Safe}}
|
||||
{{.i18n.Tr "repo.branch.create_from" (ShortSha .BranchName)}}
|
||||
{{end}}
|
||||
</div>
|
||||
</a>
|
||||
|
|
Reference in a new issue