diff --git a/templates/repo/issue/labels/label_list.tmpl b/templates/repo/issue/labels/label_list.tmpl index ce33d76fc1..5692f36d22 100644 --- a/templates/repo/issue/labels/label_list.tmpl +++ b/templates/repo/issue/labels/label_list.tmpl @@ -31,7 +31,7 @@
  • -
    {{svg "octicon-tag" 16}} {{.Name}}
    +
    {{svg "octicon-tag" 16}} {{.Name | RenderEmojiPlain}}
    @@ -74,7 +74,7 @@
  • -
    {{svg "octicon-tag" 16}} {{.Name}}
    +
    {{svg "octicon-tag" 16}} {{.Name | RenderEmojiPlain}}
    @@ -94,4 +94,3 @@ {{end}}
    - diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index cebcb7da6b..dbfee8480f 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -51,7 +51,7 @@ {{.i18n.Tr "repo.issues.filter_label_exclude" | Safe}} {{.i18n.Tr "repo.issues.filter_label_no_select"}} {{range .Labels}} - {{if .IsExcluded}}{{svg "octicon-circle-slash" 16}}{{else if .IsSelected}}{{svg "octicon-check" 16}}{{end}} {{.Name}} + {{if .IsExcluded}}{{svg "octicon-circle-slash" 16}}{{else if .IsSelected}}{{svg "octicon-check" 16}}{{end}} {{.Name | RenderEmojiPlain}} {{end}}
    @@ -154,8 +154,8 @@ {{end}} diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 941141b55f..2c355a9c00 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -111,13 +111,13 @@
    {{.i18n.Tr "repo.issues.new.clear_labels"}}
    {{if or .Labels .OrgLabels}} {{range .Labels}} - {{svg "octicon-check" 16}} {{.Name}} - {{if .Description }}
    {{.Description}}{{end}}
    + {{svg "octicon-check" 16}} {{.Name | RenderEmojiPlain}} + {{if .Description }}
    {{.Description | RenderEmojiPlain}}{{end}}
    {{end}}
    {{range .OrgLabels}} - {{svg "octicon-check" 16}} {{.Name}} - {{if .Description }}
    {{.Description}}{{end}}
    + {{svg "octicon-check" 16}} {{.Name | RenderEmojiPlain}} + {{if .Description }}
    {{.Description | RenderEmojiPlain}}{{end}}
    {{end}} {{else}}
    {{.i18n.Tr "repo.issues.new.no_items"}}
    @@ -128,12 +128,12 @@ {{.i18n.Tr "repo.issues.new.no_label"}} {{range .Labels}}
    - {{.Name}} + {{.Name | RenderEmojiPlain}}
    {{end}} {{range .OrgLabels}}
    - {{.Name}} + {{.Name | RenderEmojiPlain}}
    {{end}} diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 92e87da0ab..5d8bc327e6 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -123,7 +123,7 @@ especially on mobile views. */}} {{range .}} - {{.Name}} + {{.Name | RenderEmojiPlain}} {{end}} {{end}}