Skip to content

Commit 5302ed4

Browse files
Fix broken languages link
This especially broke the link when the language is C++ because the + characters weren't encoded properly
1 parent 72af4ba commit 5302ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/githubresume.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ var run = function() {
353353
popularity: languages[lang],
354354
toString: function() {
355355
return '<a href="https://github.com/search?q=user%3A'
356-
+ username + '&l=' + this.name + '">'
356+
+ username + '&l=' + encodeURIComponent(this.name) + '">'
357357
+ this.name + '</a>';
358358
}
359359
});

0 commit comments

Comments
 (0)