Skip to content

Commit

Permalink
fix search encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
mneumegen committed Mar 22, 2018
1 parent 059689b commit 512c255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
var pair = vars[i].split("=");

if (pair[0] === variable) {
return pair[1];
return decodeURIComponent(pair[1].replace(/\+/g, '%20')).trim();
}
}
}
Expand Down

0 comments on commit 512c255

Please sign in to comment.