Fix bug with spaces in hubsupport search #112
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #110
Replacing spaces with dashes fixes #110 as the
internalName
fromhttps://repo.runelite.net/plugins/manifest/${version}_full.js
seems to return spaces as dashes.Example test.
Input =
plank sack
Pre fix:
Post fix:
![image](https://private-user-images.githubusercontent.com/38963376/317542257-12600680-3b78-4489-8edb-7035327d7e5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjQ4ODksIm5iZiI6MTczOTA2NDU4OSwicGF0aCI6Ii8zODk2MzM3Ni8zMTc1NDIyNTctMTI2MDA2ODAtM2I3OC00NDg5LThlZGItNzAzNTMyN2Q3ZTViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAxMjk0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2NzNiZWUyYjI2ZmQ5ZWQ5ZjA2YTQxMWI5MTg5OTMxMTZlZGNjM2QxNjcyODMwNTE3MjFmODVhOWE2Y2Y3MjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.GO03BhJax3btJt1LnsLESezxS7Iw-p6JPeOIJ0VvlWw)