[OSM-talk] Auto whitespace removal?

Maarten Deen mdeen at xs4all.nl
Sat Mar 11 16:30:52 UTC 2017


On 2017-03-11 16:50, James wrote:
> Honestly, I'm not sure why this wasnt built into JOSM or P2 or ID for
> that matter as strip functions are readily available if not, very easy
> to code
> 
> Maybe you should open a bug report to request the feature. I think
> JOSM warns you about it but still would be nice to have strip() auto
> applied to all strings

If you make a new tag, JOSM strips the whitespaces front and back. I 
assume it will do the same when you edit a tag.

Maarten


> On Mar 11, 2017 10:39 AM, "Dave F" <davefoxfac63 at btinternet.com>
> wrote:
> 
>> P2
>> 
>> Do other editors have the ability to strip?
>> Is there any server-side data verification?
>> 
>> On 11/03/2017 15:11, Andy Mabbett wrote:
>> On 11 March 2017 at 14:47, Dave F<davefoxfac63 at btinternet.com>
>> wrote:
>> 
>> As I'm repeatedly guilty of leaving leading & trailing whitespace
>> in tags,
>> I'm mildly embarrassed when others come & mop up after me. Even if
>> it's done
>> with a bot. Is there not a way to automatically strip these tags on
>> upload?
>> What editing tool are you using.
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus [1]
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk [2]
> 
> 
> Links:
> ------
> [1] https://www.avast.com/antivirus
> [2] https://lists.openstreetmap.org/listinfo/talk
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk



More information about the talk mailing list