mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Escape branch name in dropdown menu (#3691)
Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
		@@ -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 New Issue
	
	Block a user