Allow spaces in locator prefix

@emanlove Do you see any problem with doing this?
The motivation was to avoid failing for a simple mistake like not having a space between partial and link
partial link=text
partiallink=text