diff --git a/modules/templates/util_render.go b/modules/templates/util_render.go
index 8621a371bd5..2f6132c6f36 100644
--- a/modules/templates/util_render.go
+++ b/modules/templates/util_render.go
@@ -143,7 +143,7 @@ func RenderLabel(ctx context.Context, label *issues_model.Label) template.HTML {
if labelScope == "" {
// Regular label
- s := fmt.Sprintf("
%s
",
+ s := fmt.Sprintf("%s
",
textColor, label.Color, description, RenderEmoji(ctx, label.Name))
return template.HTML(s)
}
@@ -177,7 +177,7 @@ func RenderLabel(ctx context.Context, label *issues_model.Label) template.HTML {
itemColor := "#" + hex.EncodeToString(itemBytes)
scopeColor := "#" + hex.EncodeToString(scopeBytes)
- s := fmt.Sprintf(""+
+ s := fmt.Sprintf(""+
"%s
"+
"%s
"+
"",