Skip to content

Commit 6e0f48e

Browse files
committed
Fixed search encoding
1 parent db5877d commit 6e0f48e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ layout: null
1010
var pair = vars[i].split("=");
1111

1212
if (pair[0] === variable) {
13-
return pair[1];
13+
return decodeURIComponent(pair[1].replace(/\+/g, '%20')).trim();
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)