Skip to content

Commit 1bbb2a6

Browse files
jolheisertechknowlogick
authored andcommitted
Add SimpleMDE to compare page for PRs (#9376)
Signed-off-by: jolheiser <[email protected]>
1 parent 4714fa6 commit 1bbb2a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/repo/compare.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ func CompareDiff(ctx *context.Context) {
433433
ctx.Data["IsDiffCompare"] = true
434434
ctx.Data["RequireHighlightJS"] = true
435435
ctx.Data["RequireTribute"] = true
436+
ctx.Data["RequireSimpleMDE"] = true
436437
ctx.Data["PullRequestWorkInProgressPrefixes"] = setting.Repository.PullRequest.WorkInProgressPrefixes
437438
setTemplateIfExists(ctx, pullRequestTemplateKey, pullRequestTemplateCandidates)
438439
renderAttachmentSettings(ctx)

0 commit comments

Comments
 (0)