Helium314 / SCEE

OpenStreetMap surveyor app for experienced OSM contributors
GNU General Public License v3.0
114 stars 8 forks source link

trim spaces from tag editor inputs #507

Closed Langlaeufer closed 4 months ago

Langlaeufer commented 5 months ago

When adding or editing tags with the SCEE Tag Editor, I have repeatedly added trailing spaces to the tag values. This usually happens due to the auto-suggestions of the phone keyboard. You can easily convince yourself that you can create keys as well as values with leading/trailing spaces with the Tag Editor. Especially the trailing spaces are hard to spot with the naked eye, both in SCEE and in other QA tools. I have no idea where leading or trailing spaces would make sense. Couldn't these simply be removed by SCEE with a trim() before storing the values?

Langlaeufer commented 5 months ago

Example "bicycle"="yes " https://www.openstreetmap.org/way/174923838/history/9

And yes, in the meantime I have realized what "Zugriff hinzufügen" (add access) is supposed to mean