mirror of
https://github.com/resume/resume.github.com.git
synced 2024-10-05 16:07:24 +03:00
Fix #210
This commit is contained in:
parent
07b3a6d3a8
commit
6e2c7ee30d
@ -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,
|
||||
|
@ -4,7 +4,7 @@
|
||||
</h2>
|
||||
<h3>{{#language}}{{language}} – {{/language}}Creator & 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
|
||||
|
Loading…
Reference in New Issue
Block a user