mirror of
https://github.com/resume/resume.github.com.git
synced 2024-10-03 23:18:01 +03:00
Fix broken languages link
This especially broke the link when the language is C++ because the + characters weren't encoded properly
This commit is contained in:
parent
72af4ba508
commit
5302ed4f4b
@ -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>';
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user