diff --git a/index.js b/index.js
index 19c2a30..cefb9f5 100644
--- a/index.js
+++ b/index.js
@@ -47,14 +47,18 @@ if (options.enable !== false) {
data.content = data.content.replace(/:(\w+):/ig, function (match, p1) {
if (githubEmojis[p1]) {
// unicode code point
- var codepoint = /\/(\w+)\.\w+$/.exec(githubEmojis[p1].split('?')[0])
+ var codepoint = /\/([\w-]+)\.\w+$/.exec(githubEmojis[p1].split('?')[0])
codepoint = codepoint && codepoint[1]
if (options.unicode && codepoint) {
+ codepoint = codepoint.split('-').map(function (item) {
+ return '' + item + ';'
+ }).join('')
+
return '' + codepoint + ';'
+ '">' + codepoint + ''
} else {
return '