From 1bbb2a637cf49f14b46bb4d869ef568c4ce6cae7 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Mon, 16 Dec 2019 13:57:30 -0600 Subject: [PATCH] Add SimpleMDE to compare page for PRs (#9376) Signed-off-by: jolheiser --- routers/repo/compare.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/repo/compare.go b/routers/repo/compare.go index 203b740082..d23bccd09a 100644 --- a/routers/repo/compare.go +++ b/routers/repo/compare.go @@ -433,6 +433,7 @@ func CompareDiff(ctx *context.Context) { ctx.Data["IsDiffCompare"] = true ctx.Data["RequireHighlightJS"] = true ctx.Data["RequireTribute"] = true + ctx.Data["RequireSimpleMDE"] = true ctx.Data["PullRequestWorkInProgressPrefixes"] = setting.Repository.PullRequest.WorkInProgressPrefixes setTemplateIfExists(ctx, pullRequestTemplateKey, pullRequestTemplateCandidates) renderAttachmentSettings(ctx)