diff --git a/web_src/js/features/contextPopup.js b/web_src/js/features/contextPopup.js index 90b8493666..34b6d50357 100644 --- a/web_src/js/features/contextPopup.js +++ b/web_src/js/features/contextPopup.js @@ -20,6 +20,7 @@ function issuePopup(suburl, owner, repo, index, $element) { let labels = ''; for (let i = 0; i < issue.labels.length; i++) { const label = issue.labels[i]; + const labelName = emojify.replace(label.name); const red = parseInt(label.color.substring(0, 2), 16); const green = parseInt(label.color.substring(2, 4), 16); const blue = parseInt(label.color.substring(4, 6), 16); @@ -27,7 +28,7 @@ function issuePopup(suburl, owner, repo, index, $element) { if ((red * 0.299 + green * 0.587 + blue * 0.114) > 125) { color = '#000000'; } - labels += `
${label.name}
`; + labels += `
${labelName}
`; } if (labels.length > 0) { labels = `

${labels}

`;