]> source.dussan.org Git - gitea.git/commitdiff
fix: text decorator on issue sidebar menu label (#27206) (#27209)
authorGiteabot <teabot@gitea.io>
Sat, 23 Sep 2023 12:47:40 +0000 (20:47 +0800)
committerGitHub <noreply@github.com>
Sat, 23 Sep 2023 12:47:40 +0000 (20:47 +0800)
Backport #27206 by @metiftikci

fix underline for label on issue sidebar

Co-authored-by: metiftikci <metiftikci@hotmail.com>
templates/repo/issue/labels/label.tmpl

index 01016281ad3ce42e756a71618be91c216b4b82df..3ecae093738888bfc66f9bc4df4df0f9664e1683 100644 (file)
@@ -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 -}}
 </a>