This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Escape branch name in dropdown menu (
#3691
)
Signed-off-by: Jonas Franz <info@jonasfranz.software>
for-closed-social
Jonas Franz
6 years ago
committed by
Lunny Xiao
parent
c28bf94252
commit
59e70c5ee9
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
templates/repo/branch_dropdown.tmpl
+ 2
- 2
templates/repo/branch_dropdown.tmpl
View File
@ -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>
Write
Preview
Loading…
Cancel
Save