Skip to content

Improve white space handling when selecting location data #50

@mchladek

Description

@mchladek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions