mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Remove RequireHighlightJS field, update plantuml example. (#19615)
				
					
				
			This commit is contained in:
		@@ -743,7 +743,6 @@ func ViewPullFiles(ctx *context.Context) {
 | 
			
		||||
 | 
			
		||||
	setCompareContext(ctx, baseCommit, commit, ctx.Repo.Owner.Name, ctx.Repo.Repository.Name)
 | 
			
		||||
 | 
			
		||||
	ctx.Data["RequireHighlightJS"] = true
 | 
			
		||||
	ctx.Data["RequireTribute"] = true
 | 
			
		||||
	if ctx.Data["Assignees"], err = models.GetRepoAssignees(ctx.Repo.Repository); err != nil {
 | 
			
		||||
		ctx.ServerError("GetAssignees", err)
 | 
			
		||||
@@ -1050,7 +1049,6 @@ func CompareAndPullRequestPost(ctx *context.Context) {
 | 
			
		||||
	ctx.Data["IsDiffCompare"] = true
 | 
			
		||||
	ctx.Data["IsRepoToolbarCommits"] = true
 | 
			
		||||
	ctx.Data["RequireTribute"] = true
 | 
			
		||||
	ctx.Data["RequireHighlightJS"] = true
 | 
			
		||||
	ctx.Data["PullRequestWorkInProgressPrefixes"] = setting.Repository.PullRequest.WorkInProgressPrefixes
 | 
			
		||||
	ctx.Data["IsAttachmentEnabled"] = setting.Attachment.Enabled
 | 
			
		||||
	upload.AddUploadContext(ctx, "comment")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user