When loading an object, tags with double spaces or other special characters like line breaks are automatically changed to use single spaces instead. This change is completely invisible to the user and leads to problematic changesets like this one:
https://www.openstreetmap.org/changeset/160494442
There I loaded two nodes via Overpass and intended to edit only one of them, but the other one got changed as well.
Converting double spaces or leading/trailing spaces in tags is generally a useful feature. I suggest to mark the automatic change in the data, e.g. by adding a comment containing the original tag.