From 34c6e6f4b32382eac5b944dfac419be7f53880c5 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 25 Apr 2024 23:05:01 +0200 Subject: [PATCH] fmt --- routers/web/repo/editor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/web/repo/editor.go b/routers/web/repo/editor.go index 58556deab2..ef9dcc3930 100644 --- a/routers/web/repo/editor.go +++ b/routers/web/repo/editor.go @@ -420,7 +420,7 @@ func DiffPreviewPost(ctx *context.Context) { } if diff.NumFiles == 0 { - ctx.PlainText(http.StatusOK, `
` + ctx.Locale.TrString("repo.editor.no_changes_to_show") + `
`) + ctx.PlainText(http.StatusOK, `
`+ctx.Locale.TrString("repo.editor.no_changes_to_show")+`
`) return } ctx.Data["File"] = diff.Files[0]