Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

squash consecutive spaces #451

Open
missinglink opened this issue May 27, 2019 · 1 comment
Open

squash consecutive spaces #451

missinglink opened this issue May 27, 2019 · 1 comment

Comments

@missinglink
Copy link
Member

Some place names contain multiple consecutive spaces, it should be safe to squash these down to a single space:

"county": "Division No.  6",
"county_gid": "whosonfirst:county:1158868963",
@orangejulius
Copy link
Member

Definitely, this sort of thing is super annoying and causes confusion in the acceptance tests. Do you think we could take it one step further and always perform this? Maybe in pelias/model? I can't think of a case where we would ever want consecutive spaces (or maybe even consecutive whitespace of any kind) in any of our text fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants