This commit is contained in:
Alex Hicks 2016-05-05 15:18:55 -04:00
parent 07b3a6d3a8
commit 6e2c7ee30d
2 changed files with 5 additions and 2 deletions

View File

@ -416,7 +416,10 @@ var run = function() {
} else {
date = since + ' – ' + until;
}
var emojiPattern = /:([a-z0-9_\+\-]+):/g;
// no, it's not really a pattern
var imagePattern = "<img width='20' height='20' src='https://assets-cdn.github.com/images/icons/emoji/$1.png' />";
repo.info.description = repo.info.description.replace(emojiPattern, imagePattern);
view = {
name: repo.info.name,
date: date,

View File

@ -4,7 +4,7 @@
</h2>
<h3>{{#language}}{{language}} &ndash; {{/language}}Creator &amp; Owner</h3>
<h4>{{date}}</h4>
<p>{{description}} {{#homepage}}<a href="{{homepage}}">{{homepage}}</a>{{/homepage}}</p>
<p>{{{description}}} {{#homepage}}<a href="{{homepage}}">{{homepage}}</a>{{/homepage}}</p>
<p>
This repository has {{watchers}} {{watchersLabel}} and {{forks}} {{forksLabel}}.
If you would like more information about this repository and my