diff --git a/routers/repo/commit.go b/routers/repo/commit.go index a2695d2d4..42fe81443 100644 --- a/routers/repo/commit.go +++ b/routers/repo/commit.go @@ -201,6 +201,8 @@ func FileHistory(ctx *context.Context) { func Diff(ctx *context.Context) { ctx.Data["PageIsDiff"] = true ctx.Data["RequireHighlightJS"] = true + ctx.Data["RequireSimpleMDE"] = true + ctx.Data["RequireTribute"] = true userName := ctx.Repo.Owner.Name repoName := ctx.Repo.Repository.Name