From cc5ccf44dcaa876c555b74209d1b885bb92d93cf Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 22 Aug 2025 16:19:55 -0700 Subject: [PATCH] fix: remove duplicate IDs (#35210) (#35325) backport #35210 --- 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 b49818c6b7..dbcfa79aa8 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -119,7 +119,7 @@ {{range $idx, $code := .FileContent}} {{$line := Eval $idx "+" 1}} - + {{if $.EscapeStatus.Escaped}} {{if (index $.LineEscapeStatus $idx).Escaped}}{{end}} {{end}}