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

Improve white space handling when selecting location data #50

Open
mchladek opened this issue Aug 22, 2017 · 0 comments
Open

Improve white space handling when selecting location data #50

mchladek opened this issue Aug 22, 2017 · 0 comments

Comments

@mchladek
Copy link
Collaborator

The current JavaScript handing location selection when coding articles does not handle white space very robustly. A couple things we can do to improve it:

  • Check if only white space is selected and, if so, don't mark as location
  • Strip any beginning or ending white space of a selection, part of general selection cleaning
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

1 participant