From ba8f93a14e7db45ca02b1d0b486aab0d8da07c96 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Tue, 17 Dec 2019 21:59:59 -0600 Subject: Fix some SimpleMDE (#9400) Signed-off-by: jolheiser --- routers/repo/pull.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers/repo/pull.go') diff --git a/routers/repo/pull.go b/routers/repo/pull.go index fdce18f7a4..c1a2a25a38 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -588,6 +588,7 @@ func ViewPullFiles(ctx *context.Context) { setPathsCompareContext(ctx, baseCommit, commit, headTarget) ctx.Data["RequireHighlightJS"] = true + ctx.Data["RequireSimpleMDE"] = true ctx.Data["RequireTribute"] = true if ctx.Data["Assignees"], err = ctx.Repo.Repository.GetAssignees(); err != nil { ctx.ServerError("GetAssignees", err) -- cgit v1.2.3