summaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-12-17 21:59:59 -0600
committertechknowlogick <techknowlogick@gitea.io>2019-12-17 22:59:59 -0500
commitba8f93a14e7db45ca02b1d0b486aab0d8da07c96 (patch)
tree678c2d93ddba6fd0e4549d86252bf4e7494e5b15 /routers/repo/pull.go
parent590d56dbb355a499b2f59d9a6ffa4887ea33c96b (diff)
downloadgitea-ba8f93a14e7db45ca02b1d0b486aab0d8da07c96.tar.gz
gitea-ba8f93a14e7db45ca02b1d0b486aab0d8da07c96.zip
Fix some SimpleMDE (#9400)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go1
1 files changed, 1 insertions, 0 deletions
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)