bump: 2.4.3

This commit is contained in:
qingwei.li 2017-02-15 20:01:07 +08:00
parent a6d9669bfa
commit 00e3609b25
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ var merge = Object.assign || function (to) {
function emojify (text) {
return text
.replace(/<(pre|template)[^>]*?>([\s\S]+)<\/(pre|template)>/g, function (match) { return match.replace(/:/g, '__colon__'); })
.replace(/:(\w*?):/ig, '<img class="emoji" src="https://assets-cdn.github.com/images/icons/emoji/$1.png" alt="$1" />')
.replace(/:(\w+?):/ig, '<img class="emoji" src="https://assets-cdn.github.com/images/icons/emoji/$1.png" alt="$1" />')
.replace(/__colon__/g, ':')
}

2
lib/docsify.min.js vendored

File diff suppressed because one or more lines are too long