From b6dab855f5669b062c055c89029efa547e2b4333 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Sat, 23 Sep 2023 20:47:40 +0800 Subject: [PATCH] fix: text decorator on issue sidebar menu label (#27206) (#27209) Backport #27206 by @metiftikci fix underline for label on issue sidebar Co-authored-by: metiftikci --- templates/repo/issue/labels/label.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/labels/label.tmpl b/templates/repo/issue/labels/label.tmpl index 01016281a..3ecae0937 100644 --- a/templates/repo/issue/labels/label.tmpl +++ b/templates/repo/issue/labels/label.tmpl @@ -3,5 +3,5 @@ id="label_{{.label.ID}}" href="{{.root.RepoLink}}/{{if or .root.IsPull .root.Issue.IsPull}}pulls{{else}}issues{{end}}?labels={{.label.ID}}"{{/* FIXME: use .root.Issue.Link or create .root.Link */}} > - {{RenderLabel $.Context .label}} + {{- RenderLabel $.Context .label -}}