From 4ea8f33ae623e6c276c690e9d28c779316a65e65 Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Tue, 19 Aug 2025 04:45:15 +0800 Subject: [PATCH] fix: remove duplicate IDs (#35210) Signed-off-by: Kerwin Bryant Co-authored-by: silverwind Co-authored-by: Giteabot --- templates/repo/view_file.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index 1486d7181d..d022af38fd 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -108,7 +108,7 @@ {{range $idx, $code := .FileContent}} {{$line := Eval $idx "+" 1}} - + {{if $.EscapeStatus.Escaped}} {{if (index $.LineEscapeStatus $idx).Escaped}}{{end}} {{end}}