Modify

Opened 8 years ago

Closed 6 years ago

#11073 closed enhancement (worksforme)

Fix values with multiple spaces

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: Cc:

Description

While JOSM already removes multiple consecutive spaces from inserted/modified values, could it also validate and fix them when the tag isn't modified?

For example, something that is already in OSM as:

name = Something␢␢Foo (␢␢ = two spaces)

If I edit this value JOSM will automatically remove the unnecessary duplicated space (leaving only one).
But if I validate my data without editing this key, the two spaces will stay there in the data.

It would be good if JOSM could detect and fix them, even if the user doesn't modify the value.

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by skyper

Or at least have a warning for it not triggering on upload but if you run validator manually.

comment:2 Changed 6 years ago by Klumbumbus

Resolution: worksforme
Status: newclosed

Worksforme. I get a warning and the fix button when I validate an unmodified way with multiple spaces in key or value.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.