Skip to content

Commit

Permalink
fix link in raffle description substitution.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanguill committed Jul 13, 2015
1 parent 49fb6eb commit 764a65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/raffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module.exports = (function(){

desc = _.map(desc, function(word){
if ( word.slice(0,5) === '<http' && word.trim().slice(-1) === '>' ){
return word.replace(/[>](\s+)/g, '$1').replace(/[<]/g, '');
return word.replace(/[>]/g, '').replace(/[<]/g, '');
}else{
return word;
}
Expand Down

0 comments on commit 764a65a

Please sign in to comment.