Skip to content

Commit

Permalink
Fix broken languages link
Browse files Browse the repository at this point in the history
This especially broke the link when the language is C++ because the + characters weren't encoded properly
  • Loading branch information
shakeelmohamed committed Jun 3, 2016
1 parent 72af4ba commit 5302ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/githubresume.js
Expand Up @@ -353,7 +353,7 @@ var run = function() {
popularity: languages[lang],
toString: function() {
return '<a href="https://github.com/search?q=user%3A'
+ username + '&l=' + this.name + '">'
+ username + '&l=' + encodeURIComponent(this.name) + '">'
+ this.name + '</a>';
}
});
Expand Down

0 comments on commit 5302ed4

Please sign in to comment.