Skip to content

Commit 78b9ef3

Browse files
6543rakshith-ravizeripath
authored
Add emoji in label to project boards (#13978) (#14021)
* Update view.tmpl Added rendering of emoji to project label * Add RenderEmojiPlain to the title and remove has-emoji Co-authored-by: zeripath <[email protected]> Co-authored-by: Rakshith Ravi <[email protected]> Co-authored-by: zeripath <[email protected]>
1 parent 90dfe44 commit 78b9ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/projects/view.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
</div>
131131
<div class="extra content">
132132
{{ range .Labels }}
133-
<a class="ui label has-emoji" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}; margin-bottom: 3px;" title="{{.Description}}">{{.Name}}</a>
133+
<a class="ui label" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}; margin-bottom: 3px;" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmoji}}</a>
134134
{{ end }}
135135
</div>
136136
</div>

0 commit comments

Comments
 (0)