Skip to content

Commit 59e70c5

Browse files
jonasfranzlunny
authored andcommitted
Escape branch name in dropdown menu (#3691)
Signed-off-by: Jonas Franz <[email protected]>
1 parent c28bf94 commit 59e70c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/branch_dropdown.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
</div>
4848
<div class="text small">
4949
{{if .IsViewBranch}}
50-
{{.i18n.Tr "repo.branch.create_from" .BranchName | Safe}}
50+
{{.i18n.Tr "repo.branch.create_from" .BranchName}}
5151
{{else}}
52-
{{.i18n.Tr "repo.branch.create_from" (ShortSha .BranchName) | Safe}}
52+
{{.i18n.Tr "repo.branch.create_from" (ShortSha .BranchName)}}
5353
{{end}}
5454
</div>
5555
</a>

0 commit comments

Comments
 (0)