Closed Villarrealized closed 5 years ago
This could probably be more simply accomplished by leaving the current code as-is but changing from encodeURIComponent to encodeURI which preserves additional slashes.
I think I like that better as it is more flexible and doesn’t add additional parameters to the function and accomplishes the same thing.
What do you think?
Yes, I also like this idea more. Keeps the code simpler and more flexible.
Great, I updated the PR with the new changes.
:tada: This PR is included in version 1.9.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Changed encodeURIComponent to encodeURI to allow for forward slashes within the search term. This allows for deeper browsing/searching which was not possible before as any forward slashes would have been lost to conversion.