From e64f2322dedd3e7de6cdf486cc97b3fe3f21b9c0 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 29 Aug 2024 11:53:41 -0700 Subject: [PATCH] Avoid template lint bug --- templates/repo/issue/view_title.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index c5ec8c46d2..f7a452c913 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -119,7 +119,7 @@ {{ctx.Locale.TrN .Issue.NumComments "repo.issues.num_comments_1" "repo.issues.num_comments" .Issue.NumComments}} {{if .MaybeFixed}} - {{$fixedStr := printf "#%d" .MaybeFixed.Issue.Link .MaybeFixed.Index}} + {{$fixedStr := printf `#%d` .MaybeFixed.Issue.Link .MaybeFixed.Index}} ยท {{ctx.Locale.Tr "repo.issues.maybefixed" ($fixedStr|SafeHTML)}} {{end}} {{end}}